@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
@@ -1,254 +1,254 @@
1
1
  import { SvelteComponent as q, init as A, safe_not_equal as J, append_styles as R, empty as X, insert as k, noop as B, detach as y, getContext as S, onMount as D, element as g, attr as a, binding_callbacks as G, space as K, set_style as j, toggle_class as v, append as U, listen as I, src_url_equal as P, run_all as Q } from "../../../vendor/svelte/internal/index.js";
2
2
  import { Image_Play_Icon_With_Text as Y, Image_Play_Icon as Z } from "../../Assets/Icon.js";
3
- function x(l) {
4
- R(l, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
3
+ function x(o) {
4
+ R(o, "svelte-159ski6", ".media-item.svelte-159ski6.svelte-159ski6{position:relative;height:100%}.media-content.svelte-159ski6.svelte-159ski6{position:relative;pointer-events:auto;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;-o-object-fit:inherit;object-fit:inherit}.media-content.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none}.video-icon.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem;max-width:60%;max-height:60%;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%)}.video-play-button-container.svelte-159ski6.svelte-159ski6{display:none;position:absolute;width:100%;height:100%;top:0;left:0;transform:translate3d(0, 0, 0)}.video-play-button-container.showPlayButton.svelte-159ski6.svelte-159ski6{pointer-events:none;display:block}.video-icon.svelte-159ski6.svelte-159ski6{pointer-events:auto}.video-icon.large.svelte-159ski6.svelte-159ski6{width:12.5rem;height:6.25rem}.video-icon.small.svelte-159ski6.svelte-159ski6{width:1.75rem;height:1.75rem}.video-icon.svelte-159ski6 .video-icon-img.svelte-159ski6{width:100%;height:100%;background-position:center center;background-size:contain;background-repeat:no-repeat}.video-icon.svelte-159ski6 .video-icon-img.canPlay.svelte-159ski6{cursor:pointer}");
5
5
  }
6
- function L(l) {
6
+ function L(o) {
7
7
  let e;
8
- function i(o, r) {
8
+ function i(l, r) {
9
9
  if (
10
10
  /*media*/
11
- o[2].type === "Image"
11
+ l[2].type === "Image"
12
12
  )
13
13
  return ee;
14
14
  if (
15
15
  /*media*/
16
- o[2].type === "Video"
16
+ l[2].type === "Video"
17
17
  )
18
18
  return $;
19
19
  }
20
- let t = i(l), n = t && t(l);
20
+ let t = i(o), n = t && t(o);
21
21
  return {
22
22
  c() {
23
23
  e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
24
24
  },
25
- m(o, r) {
26
- k(o, e, r), n && n.m(e, null);
25
+ m(l, r) {
26
+ k(l, e, r), n && n.m(e, null);
27
27
  },
28
- p(o, r) {
29
- t === (t = i(o)) && n ? n.p(o, r) : (n && n.d(1), n = t && t(o), n && (n.c(), n.m(e, null)));
28
+ p(l, r) {
29
+ t === (t = i(l)) && n ? n.p(l, r) : (n && n.d(1), n = t && t(l), n && (n.c(), n.m(e, null)));
30
30
  },
31
- d(o) {
32
- o && y(e), n && n.d();
31
+ d(l) {
32
+ l && y(e), n && n.d();
33
33
  }
34
34
  };
35
35
  }
36
- function $(l) {
37
- let e, i, t, n, o, r;
38
- function c(d, m) {
36
+ function $(o) {
37
+ let e, i, t, n, l, r;
38
+ function c(u, m) {
39
39
  return (
40
40
  /*disableVideoIfHavePoster*/
41
- d[7] && /*media*/
42
- d[2].videoCoverUrl ? ie : te
41
+ u[7] && /*media*/
42
+ u[2].videoCoverUrl ? ie : te
43
43
  );
44
44
  }
45
- let u = c(l), f = u(l);
45
+ let d = c(o), f = d(o);
46
46
  return {
47
47
  c() {
48
48
  f.c(), e = K(), i = g("div"), t = g("div"), n = g("div"), a(n, "class", "video-icon-img svelte-159ski6"), j(n, "background-image", "url(" + /*func*/
49
- l[20]() + ")"), v(
49
+ o[20]() + ")"), v(
50
50
  n,
51
51
  "canPlay",
52
52
  /*canPlay*/
53
- l[5]
53
+ o[5]
54
54
  ), a(t, "class", "video-icon svelte-159ski6"), v(
55
55
  t,
56
56
  "large",
57
57
  /*playButtonSizeIfNeed*/
58
- l[4] === "large"
58
+ o[4] === "large"
59
59
  ), v(
60
60
  t,
61
61
  "small",
62
62
  /*playButtonSizeIfNeed*/
63
- l[4] === "small"
63
+ o[4] === "small"
64
64
  ), a(i, "class", "video-play-button-container svelte-159ski6"), v(
65
65
  i,
66
66
  "showPlayButton",
67
67
  /*showPlayButton*/
68
- l[10]
68
+ o[10]
69
69
  );
70
70
  },
71
- m(d, m) {
72
- f.m(d, m), k(d, e, m), k(d, i, m), U(i, t), U(t, n), o || (r = I(
71
+ m(u, m) {
72
+ f.m(u, m), k(u, e, m), k(u, i, m), U(i, t), U(t, n), l || (r = I(
73
73
  n,
74
74
  "click",
75
75
  /*click_handler_1*/
76
- l[21]
77
- ), o = !0);
76
+ o[21]
77
+ ), l = !0);
78
78
  },
79
- p(d, m) {
80
- u === (u = c(d)) && f ? f.p(d, m) : (f.d(1), f = u(d), f && (f.c(), f.m(e.parentNode, e))), m & /*playButtonIfNeed*/
79
+ p(u, m) {
80
+ d === (d = c(u)) && f ? f.p(u, m) : (f.d(1), f = d(u), f && (f.c(), f.m(e.parentNode, e))), m & /*playButtonIfNeed*/
81
81
  8 && j(n, "background-image", "url(" + /*func*/
82
- d[20]() + ")"), m & /*canPlay*/
82
+ u[20]() + ")"), m & /*canPlay*/
83
83
  32 && v(
84
84
  n,
85
85
  "canPlay",
86
86
  /*canPlay*/
87
- d[5]
87
+ u[5]
88
88
  ), m & /*playButtonSizeIfNeed*/
89
89
  16 && v(
90
90
  t,
91
91
  "large",
92
92
  /*playButtonSizeIfNeed*/
93
- d[4] === "large"
93
+ u[4] === "large"
94
94
  ), m & /*playButtonSizeIfNeed*/
95
95
  16 && v(
96
96
  t,
97
97
  "small",
98
98
  /*playButtonSizeIfNeed*/
99
- d[4] === "small"
99
+ u[4] === "small"
100
100
  ), m & /*showPlayButton*/
101
101
  1024 && v(
102
102
  i,
103
103
  "showPlayButton",
104
104
  /*showPlayButton*/
105
- d[10]
105
+ u[10]
106
106
  );
107
107
  },
108
- d(d) {
109
- f.d(d), d && y(e), d && y(i), o = !1, r();
108
+ d(u) {
109
+ f.d(u), u && y(e), u && y(i), l = !1, r();
110
110
  }
111
111
  };
112
112
  }
113
- function ee(l) {
113
+ function ee(o) {
114
114
  let e, i, t, n;
115
115
  return {
116
116
  c() {
117
117
  e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
118
- l[6]};`), P(e.src, t = /*media*/
119
- l[2].url) || a(e, "src", t), a(e, "alt", n = /*media*/
120
- l[2].name), a(e, "draggable", !1);
118
+ o[6]};`), P(e.src, t = /*media*/
119
+ o[2].url) || a(e, "src", t), a(e, "alt", n = /*media*/
120
+ o[2].name), a(e, "draggable", !1);
121
121
  },
122
- m(o, r) {
123
- k(o, e, r);
122
+ m(l, r) {
123
+ k(l, e, r);
124
124
  },
125
- p(o, r) {
125
+ p(l, r) {
126
126
  r & /*objectFit*/
127
127
  64 && i !== (i = `object-fit: ${/*objectFit*/
128
- o[6]};`) && a(e, "style", i), r & /*media*/
128
+ l[6]};`) && a(e, "style", i), r & /*media*/
129
129
  4 && !P(e.src, t = /*media*/
130
- o[2].url) && a(e, "src", t), r & /*media*/
130
+ l[2].url) && a(e, "src", t), r & /*media*/
131
131
  4 && n !== (n = /*media*/
132
- o[2].name) && a(e, "alt", n);
132
+ l[2].name) && a(e, "alt", n);
133
133
  },
134
- d(o) {
135
- o && y(e);
134
+ d(l) {
135
+ l && y(e);
136
136
  }
137
137
  };
138
138
  }
139
- function te(l) {
140
- let e, i, t, n, o, r, c;
139
+ function te(o) {
140
+ let e, i, t, n, l, r, c;
141
141
  return {
142
142
  c() {
143
143
  e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
144
- l[6]};`), P(e.src, t = /*media*/
145
- l[2].videoCoverUrl ? (
144
+ o[6]};`), P(e.src, t = /*media*/
145
+ o[2].videoCoverUrl ? (
146
146
  /*media*/
147
- l[2].url
147
+ o[2].url
148
148
  ) : (
149
149
  /*media*/
150
- l[2].url + "#t=0.1"
150
+ o[2].url + "#t=0.1"
151
151
  )) || a(e, "src", t), a(e, "poster", n = /*media*/
152
- l[2].videoCoverUrl), a(e, "preload", o = /*media*/
153
- l[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(
152
+ o[2].videoCoverUrl), a(e, "preload", l = /*media*/
153
+ o[2].videoCoverUrl ? "none" : "auto"), a(e, "disablepictureinpicture", ""), e.playsInline = !0, a(e, "paused", ""), e.muted = !0, a(e, "draggable", !1), e.loop = !1, a(e, "crossorigin", ""), e.controls = !1, v(
154
154
  e,
155
155
  "showPlayButton",
156
156
  /*showPlayButton*/
157
- l[10]
157
+ o[10]
158
158
  );
159
159
  },
160
- m(u, f) {
161
- k(u, e, f), l[19](e), r || (c = [
160
+ m(d, f) {
161
+ k(d, e, f), o[19](e), r || (c = [
162
162
  I(
163
163
  e,
164
164
  "play",
165
165
  /*play_handler*/
166
- l[14]
166
+ o[14]
167
167
  ),
168
168
  I(
169
169
  e,
170
170
  "pause",
171
171
  /*pause_handler*/
172
- l[15]
172
+ o[15]
173
173
  ),
174
174
  I(
175
175
  e,
176
176
  "error",
177
177
  /*error_handler*/
178
- l[16]
178
+ o[16]
179
179
  ),
180
180
  I(
181
181
  e,
182
182
  "ended",
183
183
  /*ended_handler*/
184
- l[17]
184
+ o[17]
185
185
  ),
186
186
  I(
187
187
  e,
188
188
  "click",
189
189
  /*click_handler*/
190
- l[18]
190
+ o[18]
191
191
  )
192
192
  ], r = !0);
193
193
  },
194
- p(u, f) {
194
+ p(d, f) {
195
195
  f & /*objectFit*/
196
196
  64 && i !== (i = `object-fit: ${/*objectFit*/
197
- u[6]};`) && a(e, "style", i), f & /*media*/
197
+ d[6]};`) && a(e, "style", i), f & /*media*/
198
198
  4 && !P(e.src, t = /*media*/
199
- u[2].videoCoverUrl ? (
199
+ d[2].videoCoverUrl ? (
200
200
  /*media*/
201
- u[2].url
201
+ d[2].url
202
202
  ) : (
203
203
  /*media*/
204
- u[2].url + "#t=0.1"
204
+ d[2].url + "#t=0.1"
205
205
  )) && a(e, "src", t), f & /*media*/
206
206
  4 && n !== (n = /*media*/
207
- u[2].videoCoverUrl) && a(e, "poster", n), f & /*media*/
208
- 4 && o !== (o = /*media*/
209
- u[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", o), f & /*showPlayButton*/
207
+ d[2].videoCoverUrl) && a(e, "poster", n), f & /*media*/
208
+ 4 && l !== (l = /*media*/
209
+ d[2].videoCoverUrl ? "none" : "auto") && a(e, "preload", l), f & /*showPlayButton*/
210
210
  1024 && v(
211
211
  e,
212
212
  "showPlayButton",
213
213
  /*showPlayButton*/
214
- u[10]
214
+ d[10]
215
215
  );
216
216
  },
217
- d(u) {
218
- u && y(e), l[19](null), r = !1, Q(c);
217
+ d(d) {
218
+ d && y(e), o[19](null), r = !1, Q(c);
219
219
  }
220
220
  };
221
221
  }
222
- function ie(l) {
222
+ function ie(o) {
223
223
  let e, i, t, n;
224
224
  return {
225
225
  c() {
226
226
  e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
227
- l[6]};`), P(e.src, t = /*media*/
228
- l[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = /*media*/
229
- l[2].name), a(e, "draggable", !1);
227
+ o[6]};`), P(e.src, t = /*media*/
228
+ o[2].videoCoverUrl) || a(e, "src", t), a(e, "alt", n = /*media*/
229
+ o[2].name), a(e, "draggable", !1);
230
230
  },
231
- m(o, r) {
232
- k(o, e, r);
231
+ m(l, r) {
232
+ k(l, e, r);
233
233
  },
234
- p(o, r) {
234
+ p(l, r) {
235
235
  r & /*objectFit*/
236
236
  64 && i !== (i = `object-fit: ${/*objectFit*/
237
- o[6]};`) && a(e, "style", i), r & /*media*/
237
+ l[6]};`) && a(e, "style", i), r & /*media*/
238
238
  4 && !P(e.src, t = /*media*/
239
- o[2].videoCoverUrl) && a(e, "src", t), r & /*media*/
239
+ l[2].videoCoverUrl) && a(e, "src", t), r & /*media*/
240
240
  4 && n !== (n = /*media*/
241
- o[2].name) && a(e, "alt", n);
241
+ l[2].name) && a(e, "alt", n);
242
242
  },
243
- d(o) {
244
- o && y(e);
243
+ d(l) {
244
+ l && y(e);
245
245
  }
246
246
  };
247
247
  }
248
- function oe(l) {
248
+ function le(o) {
249
249
  let e, i = (
250
250
  /*media*/
251
- l[2] && L(l)
251
+ o[2] && L(o)
252
252
  );
253
253
  return {
254
254
  c() {
@@ -268,42 +268,42 @@ function oe(l) {
268
268
  }
269
269
  };
270
270
  }
271
- function le(l, e, i) {
272
- let t, n, { mediaInstance: o = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: u = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: d = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, b = !1;
271
+ function oe(o, e, i) {
272
+ let t, n, { mediaInstance: l = { videoInstance: void 0, paused: !0 } } = e, { tag: r } = e, { media: c } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: u = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, p = !0, h = !1;
273
273
  function N() {
274
- i(8, b = (c == null ? void 0 : c.type) === "Video" && !!c.videoCoverUrl);
274
+ i(8, h = (c == null ? void 0 : c.type) === "Video" && !!c.videoCoverUrl);
275
275
  }
276
- const w = S("mediaStore"), h = S("hooks"), _ = () => {
277
- console.debug("loadPoster"), !b && t && (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, b = !0), console.debug("loadPoster end"));
276
+ const w = S("mediaStore"), b = S("hooks"), _ = () => {
277
+ h || t && (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, h = !0));
278
278
  };
279
- h.on("loadVideoFirstFrame", _), D(() => {
279
+ b.on("loadVideoFirstFrame", _), D(() => {
280
280
  w.subscribe(({ currentMediaElement: s }) => {
281
281
  s !== t && (t == null || t.pause());
282
282
  });
283
283
  });
284
284
  const V = (s) => {
285
- i(10, p = !1), i(0, o.paused = !1, o), i(8, b = !0), t && w.set({ currentMediaElement: t }), h.emit("playStateChange", {
285
+ i(10, p = !1), i(0, l.paused = !1, l), i(8, h = !0), t && w.set({ currentMediaElement: t }), b.emit("playStateChange", {
286
286
  event: s,
287
287
  state: "playing",
288
288
  tag: r,
289
289
  mediaInstance: t
290
290
  });
291
291
  }, E = (s) => {
292
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
292
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
293
293
  event: s,
294
294
  state: "paused",
295
295
  tag: r,
296
296
  mediaInstance: t
297
297
  });
298
298
  }, z = (s) => {
299
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
299
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
300
300
  event: s,
301
301
  state: "paused",
302
302
  tag: r,
303
303
  mediaInstance: t
304
304
  });
305
305
  }, F = (s) => {
306
- i(10, p = !0), i(0, o.paused = !0, o), h.emit("playStateChange", {
306
+ i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
307
307
  event: s,
308
308
  state: "paused",
309
309
  tag: r,
@@ -314,38 +314,38 @@ function le(l, e, i) {
314
314
  };
315
315
  function W(s) {
316
316
  G[s ? "unshift" : "push"](() => {
317
- o.videoInstance = s, i(0, o);
317
+ l.videoInstance = s, i(0, l);
318
318
  });
319
319
  }
320
- const H = () => u === "withText" ? Y : u === "withoutText" ? Z : u, T = (s) => {
321
- d && t && (i(9, t.muted = !1, t), t.play());
320
+ const H = () => d === "withText" ? Y : d === "withoutText" ? Z : d, T = (s) => {
321
+ u && t && (i(9, t.muted = !1, t), t.play());
322
322
  };
323
- return l.$$set = (s) => {
324
- "mediaInstance" in s && i(0, o = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, u = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, d = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
325
- }, l.$$.update = () => {
326
- if (l.$$.dirty & /*mediaInstance*/
327
- 1 && i(9, t = o.videoInstance), l.$$.dirty & /*media*/
328
- 4 && i(13, n = c == null ? void 0 : c.url), l.$$.dirty & /*mediaUrl*/
329
- 8192 && n && N(), l.$$.dirty & /*videoInstance*/
330
- 512 && t && i(10, p = t.paused), l.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
331
- 772 && (c == null ? void 0 : c.type) === "Video" && !b) {
323
+ return o.$$set = (s) => {
324
+ "mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1, r = s.tag), "media" in s && i(2, c = s.media), "playButtonIfNeed" in s && i(3, d = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, f = s.playButtonSizeIfNeed), "canPlay" in s && i(5, u = s.canPlay), "objectFit" in s && i(6, m = s.objectFit), "disableVideoIfHavePoster" in s && i(7, C = s.disableVideoIfHavePoster);
325
+ }, o.$$.update = () => {
326
+ if (o.$$.dirty & /*mediaInstance*/
327
+ 1 && i(9, t = l.videoInstance), o.$$.dirty & /*media*/
328
+ 4 && i(13, n = c == null ? void 0 : c.url), o.$$.dirty & /*mediaUrl*/
329
+ 8192 && n && N(), o.$$.dirty & /*videoInstance*/
330
+ 512 && t && i(10, p = t.paused), o.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
331
+ 772 && (c == null ? void 0 : c.type) === "Video" && !h) {
332
332
  const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
333
333
  t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
334
334
  }
335
335
  }, [
336
- o,
336
+ l,
337
337
  r,
338
338
  c,
339
- u,
340
- f,
341
339
  d,
340
+ f,
341
+ u,
342
342
  m,
343
343
  C,
344
- b,
344
+ h,
345
345
  t,
346
346
  p,
347
347
  w,
348
- h,
348
+ b,
349
349
  n,
350
350
  V,
351
351
  E,
@@ -362,8 +362,8 @@ class re extends q {
362
362
  super(), A(
363
363
  this,
364
364
  e,
365
- le,
366
365
  oe,
366
+ le,
367
367
  J,
368
368
  {
369
369
  mediaInstance: 0,
@@ -1,15 +1,15 @@
1
- var U = Object.defineProperty, M = Object.defineProperties;
1
+ var M = Object.defineProperty, U = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
4
  var B = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var y = (c, l, e) => l in c ? U(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
5
+ var y = (c, l, e) => l in c ? M(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
6
6
  for (var e in l || (l = {}))
7
7
  B.call(l, e) && y(c, e, l[e]);
8
8
  if (P)
9
9
  for (var e of P(l))
10
10
  C.call(l, e) && y(c, e, l[e]);
11
11
  return c;
12
- }, I = (c, l) => M(c, R(l));
12
+ }, I = (c, l) => U(c, R(l));
13
13
  var T = (c, l, e) => (y(c, typeof l != "symbol" ? l + "" : l, e), e);
14
14
  import * as D from "three";
15
15
  import { isMediaModelTag as g, is3DTag as j } from "../utils/tag/tagCheck.js";
@@ -44,7 +44,7 @@ import "../../base/BasePlugin.js";
44
44
  import "../../shared-utils/isAbsoluteURL.js";
45
45
  import "../../vendor/svelte/store/index.js";
46
46
  import "../../vendor/svelte/internal/index.js";
47
- import "../utils/device.js";
47
+ import "../../shared-utils/device.js";
48
48
  import "../utils/model/mediaPlane.js";
49
49
  import "../../shared-utils/three/loadTexture.js";
50
50
  import "../../shared-utils/three/Quadrangle.js";
@@ -55,7 +55,7 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
55
55
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
56
56
  import "../../shared-utils/five/FiveDomEvents.js";
57
57
  import "../../shared-utils/threex/domevents/index.js";
58
- class Me extends $ {
58
+ class Ue extends $ {
59
59
  constructor(e) {
60
60
  super(e);
61
61
  T(this, "raycaster", new D.Raycaster());
@@ -124,12 +124,14 @@ class Me extends $ {
124
124
  }
125
125
  getVisibleByFiveMode(e, t) {
126
126
  const s = t != null ? t : this.five.getCurrentState().mode, n = this.getTagConfig(e).visibleConfig;
127
- if (typeof n == "object") {
128
- const i = n == null ? void 0 : n.visibleFiveMode;
129
- return i ? i != null && i.includes(s) ? n.followModelVisibility !== !1 && (s === "Floorplan" || s === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : s === "Panorama";
130
- }
131
- if (typeof n == "function")
132
- return t === "Panorama";
127
+ if (n) {
128
+ if (typeof n == "object") {
129
+ const i = n == null ? void 0 : n.visibleFiveMode;
130
+ return i ? i != null && i.includes(s) ? n.followModelVisibility === !0 && (s === "Floorplan" || s === "Mapview") ? this.getVisibleByFloorIndex(e) : !0 : !1 : s === "Panorama";
131
+ } else if (typeof n == "function")
132
+ return t === "Panorama";
133
+ } else
134
+ return s === "Panorama";
133
135
  }
134
136
  /**
135
137
  * @description 获取标签当前状态
@@ -283,7 +285,7 @@ class Me extends $ {
283
285
  const t = this.getUnfoldedByPanoIndex(e);
284
286
  if (e.state && (t !== void 0 && (e.state.unfolded = t), t && !e.state.visible)) {
285
287
  const s = this.getTagConfig(e);
286
- typeof s.unfoldedConfig == "object" && s.unfoldedConfig.autoUnfoldWhenHide !== !1 && (e.state.unfolded = !1);
288
+ typeof s.unfoldedConfig == "object" && s.unfoldedConfig.autoFoldWhenHide !== !1 && (e.state.unfolded = !1);
287
289
  }
288
290
  });
289
291
  }
@@ -344,5 +346,5 @@ class Me extends $ {
344
346
  }
345
347
  }
346
348
  export {
347
- Me as TagComputer
349
+ Ue as TagComputer
348
350
  };
@@ -55,7 +55,7 @@ import "../../base/BasePlugin.js";
55
55
  import "../../shared-utils/isAbsoluteURL.js";
56
56
  import "../../vendor/svelte/store/index.js";
57
57
  import "../../vendor/svelte/internal/index.js";
58
- import "../utils/device.js";
58
+ import "../../shared-utils/device.js";
59
59
  import "../../shared-utils/five/FiveDomEvents.js";
60
60
  import "../../shared-utils/threex/domevents/index.js";
61
61
  import "../../shared-utils/five/getFloorIndex.js";
@@ -10,7 +10,7 @@ import { tagPosition as E, getTagPosition as k } from "../utils/tagPosition.js";
10
10
  import { normalPositionToPositions as M } from "../utils/normalPositionToPositions.js";
11
11
  import { TagCache as b } from "./TagCache.js";
12
12
  import { writable as I } from "../../vendor/svelte/store/index.js";
13
- import { isIOSWX as A } from "../utils/device.js";
13
+ import { isIOSWX as A } from "../../shared-utils/device.js";
14
14
  import { isMediaPlaneTag as S, isMediaModelTag as g, isPlaneTag as V } from "../utils/tag/tagCheck.js";
15
15
  import { VideoPlane as F } from "../utils/model/mediaPlane.js";
16
16
  import { FiveDomEvents as L } from "../../shared-utils/five/FiveDomEvents.js";
@@ -69,7 +69,7 @@ import "../../base/BasePlugin.js";
69
69
  import "../../shared-utils/isAbsoluteURL.js";
70
70
  import "../../vendor/svelte/store/index.js";
71
71
  import "../../vendor/svelte/internal/index.js";
72
- import "../utils/device.js";
72
+ import "../../shared-utils/device.js";
73
73
  import "../utils/model/mediaPlane.js";
74
74
  import "../../shared-utils/three/loadTexture.js";
75
75
  import "../../shared-utils/three/Quadrangle.js";
@@ -43,7 +43,7 @@ import "../base/BasePlugin.js";
43
43
  import "../shared-utils/isAbsoluteURL.js";
44
44
  import "../vendor/svelte/store/index.js";
45
45
  import "../vendor/svelte/internal/index.js";
46
- import "./utils/device.js";
46
+ import "../shared-utils/device.js";
47
47
  import "./utils/model/mediaPlane.js";
48
48
  import "../shared-utils/three/loadTexture.js";
49
49
  import "../shared-utils/three/Quadrangle.js";
@@ -1,5 +1,8 @@
1
1
  const e = {
2
2
  globalConfig: {
3
+ visibleConfig: {
4
+ followModelVisibility: !0
5
+ },
3
6
  unfoldedConfig: {
4
7
  autoUnfold: {
5
8
  strategy: "MinimumDistance",