@realsee/dnalogel 3.20.2 → 3.20.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 (362) hide show
  1. package/dist/CruisePlugin/Move.d.ts +3 -2
  2. package/dist/index.cjs.js +33 -33
  3. package/dist/index.js +1981 -1930
  4. package/dist/index.umd.js +28 -28
  5. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +30 -30
  6. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -32
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  9. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +42 -42
  10. package/docs/classes/Magnifier.html +19 -19
  11. package/docs/classes/ModelRoomLabelController.html +10 -10
  12. package/docs/classes/MoveController.html +27 -27
  13. package/docs/classes/Object3DHelperController.html +24 -24
  14. package/docs/classes/PaintBrush.html +14 -14
  15. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  16. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  17. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +50 -50
  20. package/docs/classes/Util.BetterTween.html +9 -9
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.LineSegments.html +7 -7
  23. package/docs/classes/Util.Magnifier.html +19 -19
  24. package/docs/classes/Util.Object3D.html +8 -8
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/classes/WalkController.html +26 -26
  30. package/docs/enums/CameraMovementEffect.html +6 -6
  31. package/docs/enums/ContentType.html +20 -20
  32. package/docs/enums/DIRECTION.html +8 -8
  33. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/DimensionType.html +6 -6
  35. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  36. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  38. package/docs/enums/PointType.html +6 -6
  39. package/docs/enums/Rotation.html +7 -7
  40. package/docs/functions/AreaMakerPlugin.html +4 -4
  41. package/docs/functions/CSS3DRenderPlugin.html +4 -4
  42. package/docs/functions/CameraMovementPlugin.html +4 -4
  43. package/docs/functions/CruisePlugin.html +4 -4
  44. package/docs/functions/CurrentPanoImagePlugin.html +4 -4
  45. package/docs/functions/GuideLinePlugin.html +4 -4
  46. package/docs/functions/ItemLabelPlugin.html +4 -4
  47. package/docs/functions/MapviewFloorplanPlugin.html +4 -4
  48. package/docs/functions/ModelChassisCompassPlugin.html +4 -4
  49. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -4
  50. package/docs/functions/ModelFloorplanPlugin.html +4 -4
  51. package/docs/functions/ModelItemLabelPlugin.html +4 -4
  52. package/docs/functions/ModelRoomLabelPlugin.html +4 -4
  53. package/docs/functions/ModelTVVideoPlugin.html +4 -4
  54. package/docs/functions/ModelViewPlugin.html +4 -4
  55. package/docs/functions/MovePlugin.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 +20 -20
  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 +13 -13
  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 +14 -14
  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 +14 -14
  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 +20 -20
  151. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  152. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +21 -21
  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.ItemRenderer.html +4 -4
  242. package/docs/types/AreaMakerPluginType.PluginData.html +4 -4
  243. package/docs/types/AreaMakerPluginType.ServerData.html +4 -4
  244. package/docs/types/ArrayPosition.html +4 -4
  245. package/docs/types/AudioAppearance.html +4 -4
  246. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  247. package/docs/types/CSS3DRenderExportType.html +4 -4
  248. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  249. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  250. package/docs/types/ClassFunctionParameters.html +4 -4
  251. package/docs/types/Color.html +4 -4
  252. package/docs/types/ContentTypeConfigKey.html +4 -4
  253. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  254. package/docs/types/ContentTypeMap.html +4 -4
  255. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  256. package/docs/types/Create3DElementReturnType.html +4 -4
  257. package/docs/types/CruisePluginExportType.html +4 -4
  258. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  259. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  260. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  261. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  262. package/docs/types/DeprecatedTagProperty.html +4 -4
  263. package/docs/types/Direction-1.html +4 -4
  264. package/docs/types/Direction4.html +4 -4
  265. package/docs/types/ElementRenderer.html +4 -4
  266. package/docs/types/FloorplanRuleLabels.html +4 -4
  267. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  268. package/docs/types/GuideLinePluginExportType.html +4 -4
  269. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  270. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  273. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  274. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  275. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  276. package/docs/types/HelperEventMap.html +4 -4
  277. package/docs/types/InternalHelperEventMap.html +4 -4
  278. package/docs/types/LoadTagConfig.html +4 -4
  279. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  280. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  281. package/docs/types/MediaData.html +4 -4
  282. package/docs/types/MediaStore.html +4 -4
  283. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  284. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  285. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  286. package/docs/types/ModelId.html +4 -4
  287. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  288. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  289. package/docs/types/MoveArgs.html +4 -4
  290. package/docs/types/MoveOpts.html +4 -4
  291. package/docs/types/Object3DHelperEventMap.html +4 -4
  292. package/docs/types/ObjectFit.html +4 -4
  293. package/docs/types/PaintBrushEventMap.html +4 -4
  294. package/docs/types/PanoCompassPluginData.html +4 -4
  295. package/docs/types/PanoCompassPluginExportType.html +4 -4
  296. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  297. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  298. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  299. package/docs/types/PanoIndex.html +4 -4
  300. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  301. package/docs/types/PanoMeasureReturnType.html +4 -4
  302. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  303. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  304. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  305. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  306. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  307. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  308. package/docs/types/PipelinePluginParameterType.html +4 -4
  309. package/docs/types/PipelinePluginReturnType.html +4 -4
  310. package/docs/types/PlaneTag.html +4 -4
  311. package/docs/types/Point2DTag.html +4 -4
  312. package/docs/types/Point3DTag.html +4 -4
  313. package/docs/types/PointTag.html +4 -4
  314. package/docs/types/PointTagInstance.html +4 -4
  315. package/docs/types/Position.html +4 -4
  316. package/docs/types/RotateArgs.html +4 -4
  317. package/docs/types/RotateOpts.html +4 -4
  318. package/docs/types/RuleLabelsKey.html +4 -4
  319. package/docs/types/RuleLabelsValue.html +4 -4
  320. package/docs/types/StickType.html +4 -4
  321. package/docs/types/Tag.html +4 -4
  322. package/docs/types/Tag2D.html +4 -4
  323. package/docs/types/Tag3D.html +4 -4
  324. package/docs/types/TagConfigByKey.html +4 -4
  325. package/docs/types/TagContentType.html +4 -4
  326. package/docs/types/TagContentTypeMapping.html +4 -4
  327. package/docs/types/TagDimensionType.html +4 -4
  328. package/docs/types/TagElement.html +4 -4
  329. package/docs/types/TagEvents.html +4 -4
  330. package/docs/types/TagGLTFObject.html +4 -4
  331. package/docs/types/TagHooks.html +4 -4
  332. package/docs/types/TagId.html +4 -4
  333. package/docs/types/TagInstance.html +4 -4
  334. package/docs/types/TagPointType.html +4 -4
  335. package/docs/types/TagRendererMap.html +4 -4
  336. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  337. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  338. package/docs/types/WorkCode.html +4 -4
  339. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  340. package/docs/variables/PLUGIN.html +4 -4
  341. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  342. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  343. package/docs/variables/defaultGlobalConfig.html +4 -4
  344. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  345. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  346. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  347. package/libs/CruisePlugin/Move.d.ts +3 -2
  348. package/libs/CruisePlugin/Move.js +44 -35
  349. package/libs/CruisePlugin/Work.js +1 -1
  350. package/libs/CruisePlugin/index.js +1 -1
  351. package/libs/GuideLinePlugin/Controller.js +1 -1
  352. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  353. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +42 -38
  354. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  355. package/libs/GuideLinePlugin/index.js +1 -1
  356. package/libs/PanoTagPlugin/Components/Common/Media.js +155 -145
  357. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +215 -186
  358. package/libs/PanoTagPlugin/controller/TagUtil.js +38 -38
  359. package/libs/base/BasePlugin.js +1 -1
  360. package/libs/shared-utils/logger.js +1 -1
  361. package/libs/vendor/classnames/index.js +32 -32
  362. package/package.json +2 -2
@@ -1,370 +1,398 @@
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
- import { Image_Play_Icon_With_Text as Y, Image_Play_Icon as Z } from "../../Assets/Icon.js";
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}");
1
+ import { SvelteComponent as A, init as J, safe_not_equal as R, append_styles as X, empty as D, insert as p, noop as V, detach as h, getContext as j, onMount as G, element as k, attr as r, binding_callbacks as K, space as Q, set_style as _, toggle_class as v, append as U, listen as P, src_url_equal as w, run_all as Y } from "../../../vendor/svelte/internal/index.js";
2
+ import { Image_Play_Icon_With_Text as Z, Image_Play_Icon as x } from "../../Assets/Icon.js";
3
+ function $(n) {
4
+ X(n, "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(o) {
6
+ function L(n) {
7
7
  let e;
8
- function i(l, r) {
8
+ function i(l, f) {
9
9
  if (
10
10
  /*media*/
11
11
  l[2].type === "Image"
12
12
  )
13
- return ee;
13
+ return te;
14
14
  if (
15
15
  /*media*/
16
16
  l[2].type === "Video"
17
17
  )
18
- return $;
18
+ return ee;
19
19
  }
20
- let t = i(o), n = t && t(o);
20
+ let t = i(n), o = t && t(n);
21
21
  return {
22
22
  c() {
23
- e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
23
+ e = k("div"), o && o.c(), r(e, "class", "media-item svelte-159ski6"), r(e, "draggable", "false");
24
24
  },
25
- m(l, r) {
26
- k(l, e, r), n && n.m(e, null);
25
+ m(l, f) {
26
+ p(l, e, f), o && o.m(e, null);
27
27
  },
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)));
28
+ p(l, f) {
29
+ t === (t = i(l)) && o ? o.p(l, f) : (o && o.d(1), o = t && t(l), o && (o.c(), o.m(e, null)));
30
30
  },
31
31
  d(l) {
32
- l && y(e), n && n.d();
32
+ l && h(e), o && o.d();
33
33
  }
34
34
  };
35
35
  }
36
- function $(o) {
37
- let e, i, t, n, l, r;
38
- function c(u, m) {
36
+ function ee(n) {
37
+ let e, i, t, o, l, f;
38
+ function a(u, c) {
39
39
  return (
40
40
  /*disableVideoIfHavePoster*/
41
- u[7] && /*media*/
42
- u[2].videoCoverUrl ? ie : te
41
+ u[8] && /*media*/
42
+ u[2].videoCoverUrl ? oe : ie
43
43
  );
44
44
  }
45
- let d = c(o), f = d(o);
45
+ let d = a(n), m = d(n);
46
46
  return {
47
47
  c() {
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
- o[20]() + ")"), v(
50
- n,
48
+ m.c(), e = Q(), i = k("div"), t = k("div"), o = k("div"), r(o, "class", "video-icon-img svelte-159ski6"), _(o, "background-image", "url(" + /*func*/
49
+ n[21]() + ")"), v(
50
+ o,
51
51
  "canPlay",
52
52
  /*canPlay*/
53
- o[5]
54
- ), a(t, "class", "video-icon svelte-159ski6"), v(
53
+ n[5]
54
+ ), r(t, "class", "video-icon svelte-159ski6"), v(
55
55
  t,
56
56
  "large",
57
57
  /*playButtonSizeIfNeed*/
58
- o[4] === "large"
58
+ n[4] === "large"
59
59
  ), v(
60
60
  t,
61
61
  "small",
62
62
  /*playButtonSizeIfNeed*/
63
- o[4] === "small"
64
- ), a(i, "class", "video-play-button-container svelte-159ski6"), v(
63
+ n[4] === "small"
64
+ ), r(i, "class", "video-play-button-container svelte-159ski6"), v(
65
65
  i,
66
66
  "showPlayButton",
67
67
  /*showPlayButton*/
68
- o[10]
68
+ n[11]
69
69
  );
70
70
  },
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
- n,
71
+ m(u, c) {
72
+ m.m(u, c), p(u, e, c), p(u, i, c), U(i, t), U(t, o), l || (f = P(
73
+ o,
74
74
  "click",
75
75
  /*click_handler_1*/
76
- o[21]
76
+ n[22]
77
77
  ), l = !0);
78
78
  },
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
- 8 && j(n, "background-image", "url(" + /*func*/
82
- u[20]() + ")"), m & /*canPlay*/
79
+ p(u, c) {
80
+ d === (d = a(u)) && m ? m.p(u, c) : (m.d(1), m = d(u), m && (m.c(), m.m(e.parentNode, e))), c & /*playButtonIfNeed*/
81
+ 8 && _(o, "background-image", "url(" + /*func*/
82
+ u[21]() + ")"), c & /*canPlay*/
83
83
  32 && v(
84
- n,
84
+ o,
85
85
  "canPlay",
86
86
  /*canPlay*/
87
87
  u[5]
88
- ), m & /*playButtonSizeIfNeed*/
88
+ ), c & /*playButtonSizeIfNeed*/
89
89
  16 && v(
90
90
  t,
91
91
  "large",
92
92
  /*playButtonSizeIfNeed*/
93
93
  u[4] === "large"
94
- ), m & /*playButtonSizeIfNeed*/
94
+ ), c & /*playButtonSizeIfNeed*/
95
95
  16 && v(
96
96
  t,
97
97
  "small",
98
98
  /*playButtonSizeIfNeed*/
99
99
  u[4] === "small"
100
- ), m & /*showPlayButton*/
101
- 1024 && v(
100
+ ), c & /*showPlayButton*/
101
+ 2048 && v(
102
102
  i,
103
103
  "showPlayButton",
104
104
  /*showPlayButton*/
105
- u[10]
105
+ u[11]
106
106
  );
107
107
  },
108
108
  d(u) {
109
- f.d(u), u && y(e), u && y(i), l = !1, r();
109
+ m.d(u), u && h(e), u && h(i), l = !1, f();
110
110
  }
111
111
  };
112
112
  }
113
- function ee(o) {
114
- let e, i, t, n;
113
+ function te(n) {
114
+ let e, i, t;
115
115
  return {
116
116
  c() {
117
- e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
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);
117
+ e = k("img"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
118
+ n[2].url) || r(e, "src", i), r(e, "alt", t = /*media*/
119
+ n[2].name), r(e, "draggable", !1), _(
120
+ e,
121
+ "object-fit",
122
+ /*objectFit*/
123
+ n[7]
124
+ );
121
125
  },
122
- m(l, r) {
123
- k(l, e, r);
126
+ m(o, l) {
127
+ p(o, e, l);
124
128
  },
125
- p(l, r) {
126
- r & /*objectFit*/
127
- 64 && i !== (i = `object-fit: ${/*objectFit*/
128
- l[6]};`) && a(e, "style", i), r & /*media*/
129
- 4 && !P(e.src, t = /*media*/
130
- l[2].url) && a(e, "src", t), r & /*media*/
131
- 4 && n !== (n = /*media*/
132
- l[2].name) && a(e, "alt", n);
129
+ p(o, l) {
130
+ l & /*media*/
131
+ 4 && !w(e.src, i = /*media*/
132
+ o[2].url) && r(e, "src", i), l & /*media*/
133
+ 4 && t !== (t = /*media*/
134
+ o[2].name) && r(e, "alt", t), l & /*objectFit*/
135
+ 128 && _(
136
+ e,
137
+ "object-fit",
138
+ /*objectFit*/
139
+ o[7]
140
+ );
133
141
  },
134
- d(l) {
135
- l && y(e);
142
+ d(o) {
143
+ o && h(e);
136
144
  }
137
145
  };
138
146
  }
139
- function te(o) {
140
- let e, i, t, n, l, r, c;
147
+ function ie(n) {
148
+ let e, i, t, o, l, f;
141
149
  return {
142
150
  c() {
143
- e = g("video"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
144
- o[6]};`), P(e.src, t = /*media*/
145
- o[2].videoCoverUrl ? (
151
+ e = k("video"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
152
+ n[2].videoCoverUrl ? (
146
153
  /*media*/
147
- o[2].url
154
+ n[2].url
148
155
  ) : (
149
156
  /*media*/
150
- o[2].url + "#t=0.1"
151
- )) || a(e, "src", t), a(e, "poster", n = /*media*/
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(
157
+ n[2].url + "#t=0.1"
158
+ )) || r(e, "src", i), r(e, "poster", t = /*media*/
159
+ n[2].videoCoverUrl), r(e, "preload", o = /*media*/
160
+ n[2].videoCoverUrl ? "none" : "auto"), r(e, "disablepictureinpicture", ""), e.playsInline = !0, r(e, "paused", ""), e.muted = !0, r(e, "draggable", !1), e.loop = !1, r(e, "crossorigin", ""), e.autoplay = /*autoplayVideo*/
161
+ n[6], e.controls = !1, v(
154
162
  e,
155
163
  "showPlayButton",
156
164
  /*showPlayButton*/
157
- o[10]
165
+ n[11]
166
+ ), _(
167
+ e,
168
+ "object-fit",
169
+ /*objectFit*/
170
+ n[7]
158
171
  );
159
172
  },
160
- m(d, f) {
161
- k(d, e, f), o[19](e), r || (c = [
162
- I(
173
+ m(a, d) {
174
+ p(a, e, d), n[20](e), l || (f = [
175
+ P(
163
176
  e,
164
177
  "play",
165
178
  /*play_handler*/
166
- o[14]
179
+ n[15]
167
180
  ),
168
- I(
181
+ P(
169
182
  e,
170
183
  "pause",
171
184
  /*pause_handler*/
172
- o[15]
185
+ n[16]
173
186
  ),
174
- I(
187
+ P(
175
188
  e,
176
189
  "error",
177
190
  /*error_handler*/
178
- o[16]
191
+ n[17]
179
192
  ),
180
- I(
193
+ P(
181
194
  e,
182
195
  "ended",
183
196
  /*ended_handler*/
184
- o[17]
197
+ n[18]
185
198
  ),
186
- I(
199
+ P(
187
200
  e,
188
201
  "click",
189
202
  /*click_handler*/
190
- o[18]
203
+ n[19]
191
204
  )
192
- ], r = !0);
205
+ ], l = !0);
193
206
  },
194
- p(d, f) {
195
- f & /*objectFit*/
196
- 64 && i !== (i = `object-fit: ${/*objectFit*/
197
- d[6]};`) && a(e, "style", i), f & /*media*/
198
- 4 && !P(e.src, t = /*media*/
199
- d[2].videoCoverUrl ? (
207
+ p(a, d) {
208
+ d & /*media*/
209
+ 4 && !w(e.src, i = /*media*/
210
+ a[2].videoCoverUrl ? (
200
211
  /*media*/
201
- d[2].url
212
+ a[2].url
202
213
  ) : (
203
214
  /*media*/
204
- d[2].url + "#t=0.1"
205
- )) && a(e, "src", t), f & /*media*/
206
- 4 && n !== (n = /*media*/
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
- 1024 && v(
215
+ a[2].url + "#t=0.1"
216
+ )) && r(e, "src", i), d & /*media*/
217
+ 4 && t !== (t = /*media*/
218
+ a[2].videoCoverUrl) && r(e, "poster", t), d & /*media*/
219
+ 4 && o !== (o = /*media*/
220
+ a[2].videoCoverUrl ? "none" : "auto") && r(e, "preload", o), d & /*autoplayVideo*/
221
+ 64 && (e.autoplay = /*autoplayVideo*/
222
+ a[6]), d & /*showPlayButton*/
223
+ 2048 && v(
211
224
  e,
212
225
  "showPlayButton",
213
226
  /*showPlayButton*/
214
- d[10]
227
+ a[11]
228
+ ), d & /*objectFit*/
229
+ 128 && _(
230
+ e,
231
+ "object-fit",
232
+ /*objectFit*/
233
+ a[7]
215
234
  );
216
235
  },
217
- d(d) {
218
- d && y(e), o[19](null), r = !1, Q(c);
236
+ d(a) {
237
+ a && h(e), n[20](null), l = !1, Y(f);
219
238
  }
220
239
  };
221
240
  }
222
- function ie(o) {
223
- let e, i, t, n;
241
+ function oe(n) {
242
+ let e, i, t;
224
243
  return {
225
244
  c() {
226
- e = g("img"), a(e, "class", "media-content svelte-159ski6"), a(e, "style", i = `object-fit: ${/*objectFit*/
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);
245
+ e = k("img"), r(e, "class", "media-content svelte-159ski6"), w(e.src, i = /*media*/
246
+ n[2].videoCoverUrl) || r(e, "src", i), r(e, "alt", t = /*media*/
247
+ n[2].name), r(e, "draggable", !1), _(
248
+ e,
249
+ "object-fit",
250
+ /*objectFit*/
251
+ n[7]
252
+ );
230
253
  },
231
- m(l, r) {
232
- k(l, e, r);
254
+ m(o, l) {
255
+ p(o, e, l);
233
256
  },
234
- p(l, r) {
235
- r & /*objectFit*/
236
- 64 && i !== (i = `object-fit: ${/*objectFit*/
237
- l[6]};`) && a(e, "style", i), r & /*media*/
238
- 4 && !P(e.src, t = /*media*/
239
- l[2].videoCoverUrl) && a(e, "src", t), r & /*media*/
240
- 4 && n !== (n = /*media*/
241
- l[2].name) && a(e, "alt", n);
257
+ p(o, l) {
258
+ l & /*media*/
259
+ 4 && !w(e.src, i = /*media*/
260
+ o[2].videoCoverUrl) && r(e, "src", i), l & /*media*/
261
+ 4 && t !== (t = /*media*/
262
+ o[2].name) && r(e, "alt", t), l & /*objectFit*/
263
+ 128 && _(
264
+ e,
265
+ "object-fit",
266
+ /*objectFit*/
267
+ o[7]
268
+ );
242
269
  },
243
- d(l) {
244
- l && y(e);
270
+ d(o) {
271
+ o && h(e);
245
272
  }
246
273
  };
247
274
  }
248
- function le(o) {
275
+ function ne(n) {
249
276
  let e, i = (
250
277
  /*media*/
251
- o[2] && L(o)
278
+ n[2] && L(n)
252
279
  );
253
280
  return {
254
281
  c() {
255
- i && i.c(), e = X();
282
+ i && i.c(), e = D();
256
283
  },
257
- m(t, n) {
258
- i && i.m(t, n), k(t, e, n);
284
+ m(t, o) {
285
+ i && i.m(t, o), p(t, e, o);
259
286
  },
260
- p(t, [n]) {
287
+ p(t, [o]) {
261
288
  /*media*/
262
- t[2] ? i ? i.p(t, n) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
289
+ t[2] ? i ? i.p(t, o) : (i = L(t), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
263
290
  },
264
- i: B,
265
- o: B,
291
+ i: V,
292
+ o: V,
266
293
  d(t) {
267
- i && i.d(t), t && y(e);
294
+ i && i.d(t), t && h(e);
268
295
  }
269
296
  };
270
297
  }
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;
298
+ function le(n, e, i) {
299
+ let t, o, { mediaInstance: l = { videoInstance: void 0, paused: !0 } } = e, { tag: f } = e, { media: a } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: m = "small" } = e, { canPlay: u = !0 } = e, { autoplayVideo: c = !1 } = e, { objectFit: B = "fill" } = e, { disableVideoIfHavePoster: S = !1 } = e, b = !0, y = !1;
273
300
  function N() {
274
- i(8, h = (c == null ? void 0 : c.type) === "Video" && !!c.videoCoverUrl);
301
+ i(9, y = (a == null ? void 0 : a.type) === "Video" && !!a.videoCoverUrl);
275
302
  }
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));
303
+ const C = j("mediaStore"), I = j("hooks"), g = () => {
304
+ y || t && (i(10, t.muted = !0, t), t.play(), t.pause(), i(10, t.muted = !1, t), i(9, y = !0));
278
305
  };
279
- b.on("loadVideoFirstFrame", _), D(() => {
280
- w.subscribe(({ currentMediaElement: s }) => {
306
+ I.on("loadVideoFirstFrame", g), G(() => {
307
+ C.subscribe(({ currentMediaElement: s }) => {
281
308
  s !== t && (t == null || t.pause());
282
309
  });
283
310
  });
284
- const V = (s) => {
285
- i(10, p = !1), i(0, l.paused = !1, l), i(8, h = !0), t && w.set({ currentMediaElement: t }), b.emit("playStateChange", {
311
+ const E = (s) => {
312
+ i(11, b = !1), i(0, l.paused = !1, l), i(9, y = !0), t && C.set({ currentMediaElement: t }), I.emit("playStateChange", {
286
313
  event: s,
287
314
  state: "playing",
288
- tag: r,
315
+ tag: f,
289
316
  mediaInstance: t
290
317
  });
291
- }, E = (s) => {
292
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
318
+ }, z = (s) => {
319
+ i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
293
320
  event: s,
294
321
  state: "paused",
295
- tag: r,
322
+ tag: f,
296
323
  mediaInstance: t
297
324
  });
298
- }, z = (s) => {
299
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
325
+ }, F = (s) => {
326
+ i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
300
327
  event: s,
301
328
  state: "paused",
302
- tag: r,
329
+ tag: f,
303
330
  mediaInstance: t
304
331
  });
305
- }, F = (s) => {
306
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
332
+ }, O = (s) => {
333
+ i(11, b = !0), i(0, l.paused = !0, l), I.emit("playStateChange", {
307
334
  event: s,
308
335
  state: "paused",
309
- tag: r,
336
+ tag: f,
310
337
  mediaInstance: t
311
338
  });
312
- }, O = (s) => {
339
+ }, W = (s) => {
313
340
  t && t.pause();
314
341
  };
315
- function W(s) {
316
- G[s ? "unshift" : "push"](() => {
342
+ function H(s) {
343
+ K[s ? "unshift" : "push"](() => {
317
344
  l.videoInstance = s, i(0, l);
318
345
  });
319
346
  }
320
- const H = () => d === "withText" ? Y : d === "withoutText" ? Z : d, T = (s) => {
321
- u && t && (i(9, t.muted = !1, t), t.play());
347
+ const T = () => d === "withText" ? Z : d === "withoutText" ? x : d, M = (s) => {
348
+ u && t && (i(10, t.muted = !1, t), t.play());
322
349
  };
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
- const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
333
- t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
350
+ return n.$$set = (s) => {
351
+ "mediaInstance" in s && i(0, l = s.mediaInstance), "tag" in s && i(1, f = s.tag), "media" in s && i(2, a = s.media), "playButtonIfNeed" in s && i(3, d = s.playButtonIfNeed), "playButtonSizeIfNeed" in s && i(4, m = s.playButtonSizeIfNeed), "canPlay" in s && i(5, u = s.canPlay), "autoplayVideo" in s && i(6, c = s.autoplayVideo), "objectFit" in s && i(7, B = s.objectFit), "disableVideoIfHavePoster" in s && i(8, S = s.disableVideoIfHavePoster);
352
+ }, n.$$.update = () => {
353
+ if (n.$$.dirty & /*mediaInstance*/
354
+ 1 && i(10, t = l.videoInstance), n.$$.dirty & /*media*/
355
+ 4 && i(14, o = a == null ? void 0 : a.url), n.$$.dirty & /*mediaUrl*/
356
+ 16384 && o && N(), n.$$.dirty & /*videoInstance*/
357
+ 1024 && t && i(11, b = t.paused), n.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
358
+ 1540 && (a == null ? void 0 : a.type) === "Video" && !y) {
359
+ const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, q = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
360
+ t && q && t.paused && (document.removeEventListener("WeixinJSBridgeReady", g), document.removeEventListener("touchstart", g), document.removeEventListener("click", g), document.addEventListener("WeixinJSBridgeReady", g), document.addEventListener("touchstart", g), document.addEventListener("click", g));
334
361
  }
335
362
  }, [
336
363
  l,
337
- r,
338
- c,
339
- d,
340
364
  f,
341
- u,
365
+ a,
366
+ d,
342
367
  m,
343
- C,
344
- h,
368
+ u,
369
+ c,
370
+ B,
371
+ S,
372
+ y,
345
373
  t,
346
- p,
347
- w,
348
374
  b,
349
- n,
350
- V,
375
+ C,
376
+ I,
377
+ o,
351
378
  E,
352
379
  z,
353
380
  F,
354
381
  O,
355
382
  W,
356
383
  H,
357
- T
384
+ T,
385
+ M
358
386
  ];
359
387
  }
360
- class re extends q {
388
+ class ue extends A {
361
389
  constructor(e) {
362
- super(), A(
390
+ super(), J(
363
391
  this,
364
392
  e,
365
- oe,
366
393
  le,
367
- J,
394
+ ne,
395
+ R,
368
396
  {
369
397
  mediaInstance: 0,
370
398
  tag: 1,
@@ -372,13 +400,14 @@ class re extends q {
372
400
  playButtonIfNeed: 3,
373
401
  playButtonSizeIfNeed: 4,
374
402
  canPlay: 5,
375
- objectFit: 6,
376
- disableVideoIfHavePoster: 7
403
+ autoplayVideo: 6,
404
+ objectFit: 7,
405
+ disableVideoIfHavePoster: 8
377
406
  },
378
- x
407
+ $
379
408
  );
380
409
  }
381
410
  }
382
411
  export {
383
- re as default
412
+ ue as default
384
413
  };