@realsee/dnalogel 2.18.1-2 → 2.18.2

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 (336) hide show
  1. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +2 -2
  2. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +46 -12
  3. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -0
  4. package/dist/index.cjs.js +50 -50
  5. package/dist/index.js +2730 -2699
  6. package/dist/index.umd.js +42 -42
  7. package/dist/shared-utils/device.d.ts +6 -0
  8. package/dist/shared-utils/three/loadVideoTexture.d.ts +1 -1
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +30 -30
  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 +22 -22
  18. package/docs/classes/PanoMeasurePluginModel.html +21 -21
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +25 -25
  21. package/docs/classes/PanoTagPluginController.html +45 -45
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +11 -11
  24. package/docs/classes/Util.Interval.html +11 -11
  25. package/docs/classes/Util.Magnifier.html +16 -16
  26. package/docs/classes/Util.PointDomHelper.html +10 -10
  27. package/docs/classes/Util.PointHelper.html +10 -10
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +18 -18
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/Rotation.html +7 -7
  38. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  39. package/docs/functions/CameraMovementPlugin.html +3 -3
  40. package/docs/functions/CruisePlugin.html +3 -3
  41. package/docs/functions/GuideLinePlugin.html +4 -4
  42. package/docs/functions/ItemLabelPlugin.html +3 -3
  43. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  44. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  45. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  46. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  47. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  48. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  49. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  50. package/docs/functions/ModelViewPlugin.html +3 -3
  51. package/docs/functions/Object3DHelperPlugin.html +3 -3
  52. package/docs/functions/PanoCompassPlugin.html +3 -3
  53. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  54. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  55. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  56. package/docs/functions/PanoMeasurePlugin.html +3 -3
  57. package/docs/functions/PanoRulerPlugin.html +3 -3
  58. package/docs/functions/PanoRulerProPlugin.html +3 -3
  59. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  60. package/docs/functions/PanoTagPlugin.html +3 -3
  61. package/docs/functions/PanoVideoPlugin.html +3 -3
  62. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  63. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  64. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  65. package/docs/functions/Util.getFrameTime.html +4 -4
  66. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  67. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  68. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  69. package/docs/functions/Util.isModelLike.html +4 -4
  70. package/docs/functions/Util.isNil.html +4 -4
  71. package/docs/functions/Util.isPanoramaLike.html +4 -4
  72. package/docs/functions/Util.nextFrame.html +4 -4
  73. package/docs/functions/Util.notNil.html +4 -4
  74. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  75. package/docs/functions/Util.tweenProgress.html +4 -4
  76. package/docs/functions/Util.uuid.html +4 -4
  77. package/docs/functions/pluginFlag.html +4 -4
  78. package/docs/index.html +4 -4
  79. package/docs/interfaces/AddTagConfig.html +5 -5
  80. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  81. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  82. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  83. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  84. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  85. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  86. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  88. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  89. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  90. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  91. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  92. package/docs/interfaces/EventMap.html +14 -14
  93. package/docs/interfaces/FloorplanBounding.html +7 -7
  94. package/docs/interfaces/FloorplanData.html +9 -9
  95. package/docs/interfaces/FloorplanEntrance.html +10 -10
  96. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  97. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  98. package/docs/interfaces/FloorplanFloorData.html +8 -8
  99. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  100. package/docs/interfaces/FloorplanObserver.html +8 -8
  101. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  102. package/docs/interfaces/FloorplanPosition.html +6 -6
  103. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  104. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  105. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  106. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  107. package/docs/interfaces/FloorplanServerData.html +6 -6
  108. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  109. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  110. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  111. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  112. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  113. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  114. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  115. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  116. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  117. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  118. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  119. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  120. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  121. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  122. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  123. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  124. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  125. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  126. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  127. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  129. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  130. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  131. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  132. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  133. package/docs/interfaces/HelperOffset.html +7 -7
  134. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  135. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  136. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  137. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  138. package/docs/interfaces/MinMax.html +6 -6
  139. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  140. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  141. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  142. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  143. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  144. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  145. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  146. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  147. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  148. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  149. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  150. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  151. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  152. package/docs/interfaces/Object3DHelperState.html +7 -7
  153. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  154. package/docs/interfaces/PaintBrushAction.html +11 -11
  155. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  156. package/docs/interfaces/PaintBrushState.html +9 -9
  157. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  158. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  159. package/docs/interfaces/PanoMeasureParameterType.html +13 -13
  160. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  161. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  162. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  163. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  164. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  165. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  166. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  167. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  168. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  169. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  170. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  171. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  172. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  173. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  174. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  175. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  176. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  179. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  180. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  181. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  182. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  184. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  186. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  187. package/docs/interfaces/Point.html +7 -7
  188. package/docs/interfaces/Room.html +8 -8
  189. package/docs/interfaces/RoomInfo.html +6 -6
  190. package/docs/interfaces/RoomLabel.html +13 -13
  191. package/docs/interfaces/RoomRules.html +4 -4
  192. package/docs/interfaces/Rooms.html +4 -4
  193. package/docs/interfaces/Scissor.html +8 -8
  194. package/docs/interfaces/State.html +7 -7
  195. package/docs/interfaces/TagCacheInterface.html +11 -11
  196. package/docs/interfaces/TagConfig.html +12 -12
  197. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  198. package/docs/interfaces/TagIconUrl.html +11 -11
  199. package/docs/interfaces/TagObjectGroup.html +5 -5
  200. package/docs/interfaces/TagStyle.html +5 -5
  201. package/docs/interfaces/Tags.html +8 -8
  202. package/docs/interfaces/TemporaryState.html +5 -5
  203. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  204. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  205. package/docs/modules/CruisePluginTypes.html +4 -4
  206. package/docs/modules/GuideLineItem.html +4 -4
  207. package/docs/modules/GuideLineModeItem.html +4 -4
  208. package/docs/modules/GuideLinePluginType.html +4 -4
  209. package/docs/modules/PanoVideoPluginType.html +4 -4
  210. package/docs/modules/Util.html +4 -4
  211. package/docs/modules.html +4 -4
  212. package/docs/types/ArrayPosition.html +4 -4
  213. package/docs/types/AudioAppearance.html +4 -4
  214. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  215. package/docs/types/CSS3DRenderExportType.html +4 -4
  216. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  218. package/docs/types/ClassFunctionParameters.html +4 -4
  219. package/docs/types/Color.html +4 -4
  220. package/docs/types/ContentTypeConfigKey.html +4 -4
  221. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  222. package/docs/types/ContentTypeMap.html +4 -4
  223. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  224. package/docs/types/Create3DElementReturnType.html +4 -4
  225. package/docs/types/CruisePluginExportType.html +4 -4
  226. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  227. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  228. package/docs/types/Direction-1.html +4 -4
  229. package/docs/types/Direction4.html +4 -4
  230. package/docs/types/ElementRenderer.html +4 -4
  231. package/docs/types/FloorplanRuleLabels.html +4 -4
  232. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  233. package/docs/types/GuideLinePluginExportType.html +4 -4
  234. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  235. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  236. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  238. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  239. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  241. package/docs/types/HelperEventMap.html +4 -4
  242. package/docs/types/LoadTagConfig.html +4 -4
  243. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  244. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  245. package/docs/types/MediaData.html +4 -4
  246. package/docs/types/MediaStore.html +4 -4
  247. package/docs/types/ModelElement.html +4 -4
  248. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  249. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  250. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  251. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  252. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  253. package/docs/types/MoveArgs.html +4 -4
  254. package/docs/types/MoveOpts.html +4 -4
  255. package/docs/types/Object3DHelperEventMap.html +4 -4
  256. package/docs/types/ObjectFit.html +4 -4
  257. package/docs/types/PaintBrushEventMap.html +4 -4
  258. package/docs/types/PanoCompassPluginData.html +4 -4
  259. package/docs/types/PanoCompassPluginExportType.html +4 -4
  260. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  261. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  262. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  263. package/docs/types/PanoIndex.html +4 -4
  264. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  265. package/docs/types/PanoMeasureReturnType.html +4 -4
  266. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  267. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  268. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  269. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  270. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  271. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  272. package/docs/types/PlaneTag.html +4 -4
  273. package/docs/types/PlaneTagElement.html +4 -4
  274. package/docs/types/Point2DElement.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DElement.html +4 -4
  277. package/docs/types/Point3DTag.html +4 -4
  278. package/docs/types/PointTag.html +4 -4
  279. package/docs/types/PointTagElement.html +4 -4
  280. package/docs/types/Position.html +4 -4
  281. package/docs/types/RotateArgs.html +4 -4
  282. package/docs/types/RotateOpts.html +4 -4
  283. package/docs/types/RuleLabelsKey.html +4 -4
  284. package/docs/types/RuleLabelsValue.html +4 -4
  285. package/docs/types/StickType.html +4 -4
  286. package/docs/types/Tag.html +4 -4
  287. package/docs/types/Tag2D.html +4 -4
  288. package/docs/types/Tag3D.html +4 -4
  289. package/docs/types/TagContentType.html +4 -4
  290. package/docs/types/TagDimensionType.html +4 -4
  291. package/docs/types/TagElement.html +4 -4
  292. package/docs/types/TagEvents.html +4 -4
  293. package/docs/types/TagGLTFObject.html +4 -4
  294. package/docs/types/TagHooks.html +4 -4
  295. package/docs/types/TagIconSize.html +4 -4
  296. package/docs/types/TagId.html +4 -4
  297. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  299. package/docs/types/WorkCode.html +4 -4
  300. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  301. package/docs/variables/PLUGIN.html +4 -4
  302. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  303. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  304. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  305. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  307. package/libs/CruisePlugin/Controller.js +46 -46
  308. package/libs/CruisePlugin/index.js +1 -1
  309. package/libs/GuideLinePlugin/Controller.js +1 -1
  310. package/libs/GuideLinePlugin/GuideLineItem/index.js +36 -36
  311. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  312. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +33 -31
  313. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +2 -2
  314. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  315. package/libs/GuideLinePlugin/index.js +1 -1
  316. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +118 -118
  317. package/libs/PanoTagPlugin/controller/TagComputer.js +15 -13
  318. package/libs/PanoTagPlugin/controller/TagRender.js +1 -1
  319. package/libs/PanoTagPlugin/controller/TagUtil.js +1 -1
  320. package/libs/PanoTagPlugin/controller/index.js +1 -1
  321. package/libs/PanoTagPlugin/index.js +1 -1
  322. package/libs/PanoTagPlugin/tag.config.js +3 -0
  323. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +46 -12
  324. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +1 -0
  325. package/libs/PanoTagPlugin/utils/model/mediaPlane.js +34 -30
  326. package/libs/base/BasePlugin.js +1 -1
  327. package/libs/index.js +1 -1
  328. package/libs/shared-utils/device.d.ts +6 -0
  329. package/libs/shared-utils/device.js +8 -0
  330. package/libs/shared-utils/logger.js +1 -1
  331. package/libs/shared-utils/three/loadVideoTexture.d.ts +1 -1
  332. package/libs/shared-utils/three/loadVideoTexture.js +28 -8
  333. package/package.json +1 -2
  334. package/dist/PanoTagPlugin/utils/device.d.ts +0 -1
  335. package/libs/PanoTagPlugin/utils/device.d.ts +0 -1
  336. package/libs/PanoTagPlugin/utils/device.js +0 -4
@@ -7,31 +7,59 @@ import type { PartialDeep } from 'type-fest';
7
7
  export interface TagConfig<C extends TagContentType = TagContentType, S extends StickType = StickType> {
8
8
  /** 显示/隐藏配置 */
9
9
  visibleConfig?: {
10
- /** 保持可见/不可见, 设置后visibleConfig下所有其他配置都不生效 */
10
+ /**
11
+ * @description 保持可见/不可见, 设置后visibleConfig下所有其他配置都不生效
12
+ * @default undefined
13
+ */
11
14
  keep?: 'visible' | 'hidden';
12
- /** 在哪些 five mode 下可见,默认为 ['Panorama'] */
15
+ /**
16
+ * @description 在哪些 five mode 下可见
17
+ * @default ['Panorama']
18
+ */
13
19
  visibleFiveMode?: Mode[];
14
- /** 当 visibleFiveMode 包含 'Floorplan' 或者 'MapView' 时,是否仅在当前楼层模型下可见,默认为true */
20
+ /**
21
+ * @description 当 visibleFiveMode 包含 'Floorplan' 或者 'MapView' 时,是否仅在当前楼层模型下可见
22
+ * @default false
23
+ */
15
24
  followModelVisibility?: boolean;
16
- /** 走点时不隐藏 */
25
+ /**
26
+ * @description 走点时不隐藏
27
+ * @default false
28
+ */
17
29
  alwaysShowWhenMovePano?: true;
18
- /** min-max米内显示 | 无距离限制 */
30
+ /**
31
+ * @description min-max米内显示 | 无距离限制
32
+ * @default 'unLimited'
33
+ */
19
34
  visibleDistance?: MinMax | 'unLimited';
20
35
  /**
21
36
  * @description: 限制xx点位上可见,默认为all
22
37
  * @param all: 不限制
23
38
  * @param current: 仅当前点位可见
24
39
  * @param: number[] 仅指定点位可见
40
+ * @default 'all'
25
41
  */
26
42
  visiblePanoIndex?: 'all' | 'current' | number[];
27
- /** 碰撞检测配置,默认开启 */
28
- intersectRaycaster?: boolean /** 是否开启碰撞检测,默认true */ | {
29
- /** 是否开启碰撞检测,默认true */
43
+ /**
44
+ * @description 碰撞检测配置,默认开启
45
+ * @default true
46
+ */
47
+ intersectRaycaster?: boolean | {
48
+ /**
49
+ * @description 是否开启碰撞检测
50
+ * @default true
51
+ */
30
52
  enabled?: boolean;
31
- /** 碰撞检测的允许误差, 默认值为0.01 */
53
+ /**
54
+ * @description 碰撞检测的允许误差
55
+ * @default 0.01
56
+ */
32
57
  distanceAccuracy?: number;
33
58
  };
34
- /** 3D标签中 「标签所在平面或垂直于标签法线的平面」 与 「摄像机到标签点或中心点的向量」 的夹角,范围内自动展开,范围外自动收起 */
59
+ /**
60
+ * @description 3D标签中 「标签所在平面或垂直于标签法线的平面」 与 「摄像机到标签点或中心点的向量」 的夹角,范围内自动展开,范围外自动收起
61
+ * @default undefined
62
+ */
35
63
  angleRange?: MinMax;
36
64
  } | ((five: Five, tagState: {
37
65
  tag: Tag<C, S>;
@@ -44,16 +72,22 @@ export interface TagConfig<C extends TagContentType = TagContentType, S extends
44
72
  unfoldedConfig?: {
45
73
  /** 保持展开/收起,设置后unfoldedConfig下所有其他配置都不生效 */
46
74
  keep?: 'unfolded' | 'folded';
47
- /** 划动到不可见状态时,自动收起,disableFold: true 的标签不受此参数影响 */
48
- autoUnfoldWhenHide?: false;
75
+ /**
76
+ * @description 划动到不可见状态时,自动收起,disableFold: true 的标签不受此参数影响
77
+ * @note 部分标签是无法收起的
78
+ * @default true
79
+ */
80
+ autoFoldWhenHide?: false;
49
81
  /**
50
82
  * @deprecated replace by { keep: 'folded' }
51
83
  * @deprecated 部分标签是无法打开的
84
+ * @default undefined
52
85
  */
53
86
  disableUnfold?: true;
54
87
  /**
55
88
  * @deprecated replace by { keep: 'unfolded' }
56
89
  * @deprecated 部分标签是无法收起的
90
+ * @default undefined
57
91
  */
58
92
  disableFold?: true;
59
93
  /** min-max米内自动展开,否则收起 */
@@ -51,6 +51,7 @@ declare class VideoPlane extends MediaPlane {
51
51
  pause(): void;
52
52
  initialDomEvents(domEvents: DomEvents): void;
53
53
  initialRenderHooks(func: (render: () => void) => () => any): void;
54
+ private showPlayUI;
54
55
  private showPauseUI;
55
56
  private render;
56
57
  private addAutoBindEventListener;
@@ -1,6 +1,6 @@
1
- var x = Object.defineProperty;
2
- var P = (c, a, e) => a in c ? x(c, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[a] = e;
3
- var o = (c, a, e) => (P(c, typeof a != "symbol" ? a + "" : a, e), e);
1
+ var b = Object.defineProperty;
2
+ var x = (c, a, e) => a in c ? b(c, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[a] = e;
3
+ var o = (c, a, e) => (x(c, typeof a != "symbol" ? a + "" : a, e), e);
4
4
  var u = (c, a, e) => new Promise((t, s) => {
5
5
  var i = (n) => {
6
6
  try {
@@ -17,17 +17,18 @@ var u = (c, a, e) => new Promise((t, s) => {
17
17
  }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(i, d);
18
18
  r((e = e.apply(c, a)).next());
19
19
  });
20
- import * as M from "three";
20
+ import * as l from "three";
21
21
  import { Vector3 as g } from "three";
22
- import { centerPoint as w } from "../../../shared-utils/three/centerPoint.js";
23
- import { loadTexture as I } from "../../../shared-utils/three/loadTexture.js";
22
+ import { centerPoint as L } from "../../../shared-utils/three/centerPoint.js";
23
+ import { loadTexture as T } from "../../../shared-utils/three/loadTexture.js";
24
24
  import { QuadrangleGeometry as V, QuadrangleMesh as y } from "../../../shared-utils/three/Quadrangle.js";
25
25
  import { getVideoTexture as B } from "../../../shared-utils/three/loadVideoTexture.js";
26
- import { Image_Play_Icon_With_Text as C, Image_Play_Icon as T } from "../../Assets/Icon.js";
26
+ import { Image_Play_Icon_With_Text as C, Image_Play_Icon as I } from "../../Assets/Icon.js";
27
27
  import { getPositionsByObjectFit as p } from "../../../shared-utils/three/getPositionsByObjectFit.js";
28
28
  import { FragmentTransparencyMaterial as F } from "../../../shared-utils/three/FragmentTransparencyMaterial.js";
29
29
  import "../../../shared-utils/math/pointIsRectangle.js";
30
- class b extends M.Mesh {
30
+ import "../../../shared-utils/device.js";
31
+ class P extends l.Mesh {
31
32
  constructor() {
32
33
  super(...arguments);
33
34
  o(this, "name", "MediaPlane");
@@ -38,20 +39,20 @@ class b extends M.Mesh {
38
39
  return e !== null && e.remove(this), this;
39
40
  }
40
41
  }
41
- class Q extends b {
42
+ class z extends P {
42
43
  constructor(e, t, s) {
43
44
  super();
44
45
  o(this, "name", "PanoTagPluginImagePlane");
45
- this.src = e, I(e).then((i) => {
46
+ this.src = e, T(e).then((i) => {
46
47
  var m;
47
- const d = new URL(e, location.href).pathname.endsWith(".png"), r = new M.MeshBasicMaterial({ map: i, transparent: d }), n = p((m = s == null ? void 0 : s.objectFit) != null ? m : "contain", t, i.image.width / i.image.height), h = w(...n), v = n.map((f) => f.clone().sub(h)), l = new V(v);
48
- this.position.copy(h), this.geometry = l, this.material = r;
48
+ const d = new URL(e, location.href).pathname.endsWith(".png"), r = new l.MeshBasicMaterial({ map: i, transparent: d }), n = p((m = s == null ? void 0 : s.objectFit) != null ? m : "contain", t, i.image.width / i.image.height), h = L(...n), v = n.map((f) => f.clone().sub(h)), M = new V(v);
49
+ this.position.copy(h), this.geometry = M, this.material = r;
49
50
  }).catch((i) => {
50
- console.error({ e: i });
51
+ console.error(`Imageplane error ${i}`);
51
52
  });
52
53
  }
53
54
  }
54
- class z extends b {
55
+ class G extends P {
55
56
  // eslint-disable-next-line max-params
56
57
  constructor(e, t, s) {
57
58
  const { videoCoverSrc: i, objectFit: d = "contain", playButton: r = "withText", paused: n = !0, videoTextureMap: h, ImageTextureMap: v } = s != null ? s : {};
@@ -72,24 +73,24 @@ class z extends b {
72
73
  o(this, "buttonMesh");
73
74
  o(this, "videoTextureMap");
74
75
  o(this, "ImageTextureMap");
75
- this.cornerPoints = t, this.src = e, this.buttonSrc = (() => r === "withText" ? C : r === "withoutText" ? T : typeof r == "string" ? r : T)(), this.videoCoverSrc = i, this.objectFit = d, this.videoTextureMap = h, this.ImageTextureMap = v, this.position.copy(w(...t)), this.videoCoverSrc && n ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
76
+ this.cornerPoints = t, this.src = e, this.buttonSrc = (() => r === "withText" ? C : r === "withoutText" ? I : typeof r == "string" ? r : I)(), this.videoCoverSrc = i, this.objectFit = d, this.videoTextureMap = h, this.ImageTextureMap = v, this.position.copy(L(...t)), this.videoCoverSrc && n ? this.addCoverMesh().then(() => this.addButtonMesh()) : this.addVideoMesh().then(() => {
76
77
  n ? this.addButtonMesh() : this.play(!0);
77
78
  }), this.addEventListener("removed", () => {
78
79
  this.remove(...this.children);
79
80
  }), this.addEventListener("dispose", () => {
80
- var l;
81
- this.domEventsListenerTemporaryList = [], (l = this.disposers) == null || l.forEach((m) => m == null ? void 0 : m());
81
+ var M;
82
+ this.domEventsListenerTemporaryList = [], (M = this.disposers) == null || M.forEach((m) => m == null ? void 0 : m());
82
83
  });
83
84
  }
84
85
  play(e = !1) {
85
86
  return u(this, null, function* () {
86
- this.videoMesh || (yield this.addVideoMesh()), this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0, this.videoInstance.paused && this.videoInstance.play().catch((t) => {
87
- console.error(t);
87
+ this.videoMesh || (yield this.addVideoMesh()), this.showPlayUI(), this.videoInstance.paused && this.videoInstance.play().then(() => this.showPlayUI()).catch((t) => {
88
+ this.pause(), console.error("play error", t);
88
89
  }), this.videoInstance.muted = e, this.render();
89
90
  });
90
91
  }
91
92
  pause() {
92
- this.videoInstance && (this.showPauseUI(), this.videoInstance.pause(), this.render());
93
+ this.videoInstance && (this.videoInstance.pause(), this.showPauseUI().then(() => this.render()));
93
94
  }
94
95
  initialDomEvents(e) {
95
96
  this.domEvents || (this.domEvents = e, this.domEventsListenerTemporaryList.forEach((t) => this.addDomEventListener(...t)), this.domEventsListenerTemporaryList = []);
@@ -101,9 +102,12 @@ class z extends b {
101
102
  });
102
103
  this.disposers.push(() => s);
103
104
  }
105
+ showPlayUI() {
106
+ this.coverMesh && (this.coverMesh.visible = !1), this.remove(this.buttonMesh), this.videoMesh.visible = !0;
107
+ }
104
108
  showPauseUI() {
105
109
  return u(this, null, function* () {
106
- this.coverMesh ? (this.coverMesh.visible = !0, this.videoMesh && (this.videoMesh.visible = !1)) : (yield this.addCoverMesh(), this.coverMesh && (this.videoMesh.visible = !1)), this.addButtonMesh(), this.render();
110
+ 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());
107
111
  });
108
112
  }
109
113
  render() {
@@ -141,7 +145,7 @@ class z extends b {
141
145
  const t = yield this.getImageTexture(this.videoCoverSrc);
142
146
  if (!t)
143
147
  return;
144
- const s = new M.MeshBasicMaterial({ transparent: !1, map: t }), i = p(this.objectFit, this.cornerPoints, t.image.width / t.image.height), d = new y(i, s);
148
+ const s = new l.MeshBasicMaterial({ transparent: !1, map: t }), i = p(this.objectFit, this.cornerPoints, t.image.width / t.image.height), d = new y(i, s);
145
149
  return d.position.copy(new g(0, 0, 0)), d.name = "videoCoverMesh", d;
146
150
  }))();
147
151
  return e && (this.children.includes(this.coverMesh) || (this.add(e), this.coverMesh = e)), e;
@@ -156,7 +160,7 @@ class z extends b {
156
160
  return this.videoMesh;
157
161
  if (!this.src)
158
162
  return;
159
- const s = this.getVideoTexture(this.src), i = new M.MeshBasicMaterial({ transparent: !1, map: s }), d = yield new Promise((n) => {
163
+ const s = this.getVideoTexture(this.src), i = new l.MeshBasicMaterial({ transparent: !1, map: s }), d = yield new Promise((n) => {
160
164
  s.metadataLoaded ? n(p(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight)) : s.addEventListener(
161
165
  "videoLoaded",
162
166
  () => n(p(this.objectFit, this.cornerPoints, s.image.videoWidth / s.image.videoHeight))
@@ -182,13 +186,13 @@ class z extends b {
182
186
  if (this.children.includes(this.buttonMesh))
183
187
  return;
184
188
  const e = yield (() => u(this, null, function* () {
185
- var m, f, E, L;
189
+ var m, f, E, w;
186
190
  if (this.buttonMesh)
187
191
  return this.buttonMesh;
188
- const t = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, s = (L = (E = this.coverMesh) == null ? void 0 : E.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? L : 1 / 0, i = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), r = Math.min(t, s, i) / i * 0.3, n = yield this.getImageTexture(this.buttonSrc), h = p("contain", this.cornerPoints, n.image.width / n.image.height), v = new y(h, new F(n));
192
+ const t = (f = (m = this.videoMesh) == null ? void 0 : m.geometry.points[0].distanceTo(this.videoMesh.geometry.points[3])) != null ? f : 1 / 0, s = (w = (E = this.coverMesh) == null ? void 0 : E.geometry.points[0].distanceTo(this.coverMesh.geometry.points[3])) != null ? w : 1 / 0, i = this.cornerPoints[0].distanceTo(this.cornerPoints[3]), r = Math.min(t, s, i) / i * 0.3, n = yield this.getImageTexture(this.buttonSrc), h = p("contain", this.cornerPoints, n.image.width / n.image.height), v = new y(h, new F(n));
189
193
  v.position.copy(new g(0, 0, 0)), v.name = "buttonMesh", v.scale.set(r, r, r), this.addAutoBindEventListener(v, "click", () => this.play());
190
- const l = new M.Vector3().crossVectors(new M.Vector3().subVectors(h[0], h[1]), new M.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
191
- return v.position.add(l), v;
194
+ const M = new l.Vector3().crossVectors(new l.Vector3().subVectors(h[0], h[1]), new l.Vector3().subVectors(h[0], h[3])).normalize().multiplyScalar(1e-4);
195
+ return v.position.add(M), v;
192
196
  }))();
193
197
  return this.children.includes(this.buttonMesh) || (this.add(e), this.buttonMesh = e), e;
194
198
  });
@@ -198,7 +202,7 @@ class z extends b {
198
202
  var s, i;
199
203
  if ((s = this.ImageTextureMap) != null && s.has(e))
200
204
  return this.ImageTextureMap.get(e);
201
- const t = yield I(e);
205
+ const t = yield T(e);
202
206
  return (i = this.ImageTextureMap) == null || i.set(e, t), t;
203
207
  });
204
208
  }
@@ -211,6 +215,6 @@ class z extends b {
211
215
  }
212
216
  }
213
217
  export {
214
- Q as ImagePlane,
215
- z as VideoPlane
218
+ z as ImagePlane,
219
+ G as VideoPlane
216
220
  };
@@ -14,7 +14,7 @@ let n = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- e(this, "VERSION", "2.18.1-2");
17
+ e(this, "VERSION", "2.18.2");
18
18
  e(this, "five");
19
19
  /**
20
20
  * 插件事件钩子
package/libs/index.js CHANGED
@@ -244,7 +244,7 @@ import "./PanoTagPlugin/tag.config.js";
244
244
  import "./PanoTagPlugin/utils/planeNormal.js";
245
245
  import "./PanoTagPlugin/utils/normalPositionToPositions.js";
246
246
  import "./PanoTagPlugin/controller/TagCache.js";
247
- import "./PanoTagPlugin/utils/device.js";
247
+ import "./shared-utils/device.js";
248
248
  import "./PanoTagPlugin/utils/model/mediaPlane.js";
249
249
  import "./shared-utils/three/Quadrangle.js";
250
250
  import "./shared-utils/math/pointIsRectangle.js";
@@ -0,0 +1,6 @@
1
+ export declare const isIOS: boolean;
2
+ export declare const isAndroid: boolean;
3
+ export declare const isWX: boolean;
4
+ export declare const isIOSWX: boolean;
5
+ export declare const isAndroidWX: boolean;
6
+ export declare const isBrowser: boolean;
@@ -0,0 +1,8 @@
1
+ const e = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
2
+ navigator.userAgent.toLowerCase().indexOf("android");
3
+ const o = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, n = e && o;
4
+ export {
5
+ e as isIOS,
6
+ n as isIOSWX,
7
+ o as isWX
8
+ };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.info(
3
- "%c %c@realsee/dnalogel %cv2.18.1-2",
3
+ "%c %c@realsee/dnalogel %cv2.18.2",
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",
@@ -3,7 +3,7 @@ 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
  }>>;
6
- export declare function getVideoTexture(src: string, videoElement?: HTMLVideoElement, metadataLoadedCallback?: (texture: THREE.VideoTexture) => void): Overwrite<THREE.VideoTexture, {
6
+ export declare function getVideoTexture(src: string, videoElement?: HTMLVideoElement): Overwrite<THREE.VideoTexture, {
7
7
  image: HTMLVideoElement;
8
8
  metadataLoaded: boolean;
9
9
  }>;
@@ -1,12 +1,32 @@
1
- import * as t from "three";
2
- function u(i, n, o) {
3
- const e = n != null ? n : document.createElement("video");
1
+ import * as a from "three";
2
+ import { isWX as d, isIOS as s } from "../device.js";
3
+ function m(u, r) {
4
+ let n = !d;
5
+ const e = r != null ? r : document.createElement("video");
4
6
  e.preload = "metadata", e.crossOrigin = "anonymous", e.muted = !0, e.loop = !0, e.playsInline = !0, e.autoplay = !0;
5
- const r = new t.VideoTexture(e);
6
- return r.minFilter = t.LinearFilter, r.magFilter = t.LinearFilter, r.encoding = t.sRGBEncoding, r.metadataLoaded = !1, e.onloadedmetadata = () => {
7
- o == null || o(r), r.dispatchEvent({ type: "videoLoaded" }), r.metadataLoaded = !0;
8
- }, e.src = i, r;
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;
9
+ const o = () => {
10
+ t.metadataLoaded || (t.dispatchEvent({ type: "videoLoaded" }), t.metadataLoaded = !0);
11
+ };
12
+ if (d || (e.onloadedmetadata = () => {
13
+ o();
14
+ }), d) {
15
+ const i = () => {
16
+ if (!n) {
17
+ if (!e.paused) {
18
+ o();
19
+ return;
20
+ }
21
+ n = !0, e.muted = !0, e.play().then(() => {
22
+ e.pause(), e.currentTime = 0, o();
23
+ });
24
+ }
25
+ };
26
+ document.addEventListener("click", i, { once: !0 }), s && document.addEventListener("touchstart", i, { once: !0 });
27
+ }
28
+ return t;
9
29
  }
10
30
  export {
11
- u as getVideoTexture
31
+ m as getVideoTexture
12
32
  };
package/package.json CHANGED
@@ -4,11 +4,10 @@
4
4
  "module": "./libs/index.js",
5
5
  "types": "./libs/index.d.ts",
6
6
  "author": "REALSEE-DEVELOPER",
7
- "type": "module",
8
7
  "repository": "https://github.com/realsee-developer/dnalogel.git",
9
8
  "description": "如视 VR 看房插件合集",
10
9
  "private": false,
11
- "version": "2.18.1-2",
10
+ "version": "2.18.2",
12
11
  "license": "SEE LICENSE IN TERMS.txt",
13
12
  "scripts": {
14
13
  "clean": "rm -rf components dist docs libs types ./vite.config.js.timestamp*",
@@ -1 +0,0 @@
1
- export declare const isIOSWX: boolean;
@@ -1 +0,0 @@
1
- export declare const isIOSWX: boolean;
@@ -1,4 +0,0 @@
1
- const e = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1 && navigator.userAgent.toLowerCase().indexOf("iphone") !== -1;
2
- export {
3
- e as isIOSWX
4
- };