@realsee/dnalogel 2.22.0-dev.8 → 2.23.0

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 (451) hide show
  1. package/dist/PanoSpatialTagPlugin/store.d.ts +1 -0
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  4. package/dist/index.cjs.js +65 -65
  5. package/dist/index.js +4614 -4447
  6. package/dist/index.umd.js +58 -58
  7. package/docs/classes/CSS3DRender.html +30 -30
  8. package/docs/classes/CruisePluginController.html +25 -25
  9. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  10. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  11. package/docs/classes/Magnifier.html +19 -19
  12. package/docs/classes/ModelRoomLabelController.html +10 -10
  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 +13 -13
  18. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  19. package/docs/classes/PanoTagPluginController.html +48 -48
  20. package/docs/classes/Util.BetterTween.html +8 -8
  21. package/docs/classes/Util.Interval.html +11 -11
  22. package/docs/classes/Util.Magnifier.html +19 -19
  23. package/docs/classes/Util.PointDomHelper.html +10 -10
  24. package/docs/classes/Util.PointHelper.html +10 -10
  25. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  26. package/docs/classes/Util.Rectangle.html +12 -12
  27. package/docs/enums/CameraMovementEffect.html +6 -6
  28. package/docs/enums/ContentType.html +19 -19
  29. package/docs/enums/DIRECTION.html +8 -8
  30. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  31. package/docs/enums/DimensionType.html +6 -6
  32. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  33. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  34. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  35. package/docs/enums/PointType.html +6 -6
  36. package/docs/enums/Rotation.html +7 -7
  37. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  38. package/docs/functions/CameraMovementPlugin.html +3 -3
  39. package/docs/functions/CruisePlugin.html +3 -3
  40. package/docs/functions/GuideLinePlugin.html +4 -4
  41. package/docs/functions/ItemLabelPlugin.html +3 -3
  42. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  43. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  44. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  45. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  46. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  47. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  48. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  49. package/docs/functions/ModelViewPlugin.html +3 -3
  50. package/docs/functions/Object3DHelperPlugin.html +3 -3
  51. package/docs/functions/PanoCompassPlugin.html +3 -3
  52. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  53. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  54. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  55. package/docs/functions/PanoMeasurePlugin.html +3 -3
  56. package/docs/functions/PanoRulerPlugin.html +3 -3
  57. package/docs/functions/PanoRulerProPlugin.html +3 -3
  58. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  59. package/docs/functions/PanoTagPlugin.html +3 -3
  60. package/docs/functions/PanoVideoPlugin.html +3 -3
  61. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  62. package/docs/functions/Util.absoluteUrl.html +4 -4
  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 +8 -8
  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 +14 -14
  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/interfaces/Util.PointIntersection.html +7 -7
  206. package/docs/modules/CruisePluginTypes.html +4 -4
  207. package/docs/modules/GuideLineItem.html +4 -4
  208. package/docs/modules/GuideLineModeItem.html +4 -4
  209. package/docs/modules/GuideLinePluginType.html +4 -4
  210. package/docs/modules/PanoVideoPluginType.html +4 -4
  211. package/docs/modules/Util.html +4 -4
  212. package/docs/modules.html +4 -4
  213. package/docs/types/ArrayPosition.html +4 -4
  214. package/docs/types/AudioAppearance.html +4 -4
  215. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  216. package/docs/types/CSS3DRenderExportType.html +4 -4
  217. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  218. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  219. package/docs/types/ClassFunctionParameters.html +4 -4
  220. package/docs/types/Color.html +4 -4
  221. package/docs/types/ContentTypeConfigKey.html +4 -4
  222. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  223. package/docs/types/ContentTypeMap.html +4 -4
  224. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  225. package/docs/types/Create3DElementReturnType.html +4 -4
  226. package/docs/types/CruisePluginExportType.html +4 -4
  227. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  228. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  229. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  230. package/docs/types/DeprecatedTagProperty.html +4 -4
  231. package/docs/types/Direction-1.html +4 -4
  232. package/docs/types/Direction4.html +4 -4
  233. package/docs/types/ElementRenderer.html +4 -4
  234. package/docs/types/FloorplanRuleLabels.html +4 -4
  235. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  236. package/docs/types/GuideLinePluginExportType.html +4 -4
  237. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  238. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  241. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  242. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  243. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  244. package/docs/types/HelperEventMap.html +4 -4
  245. package/docs/types/LoadTagConfig.html +4 -4
  246. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  247. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  248. package/docs/types/MediaData.html +4 -4
  249. package/docs/types/MediaStore.html +4 -4
  250. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  251. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  252. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  253. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  254. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  255. package/docs/types/MoveArgs.html +4 -4
  256. package/docs/types/MoveOpts.html +4 -4
  257. package/docs/types/Object3DHelperEventMap.html +4 -4
  258. package/docs/types/ObjectFit.html +4 -4
  259. package/docs/types/PaintBrushEventMap.html +4 -4
  260. package/docs/types/PanoCompassPluginData.html +4 -4
  261. package/docs/types/PanoCompassPluginExportType.html +4 -4
  262. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  263. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  264. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  265. package/docs/types/PanoIndex.html +4 -4
  266. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  267. package/docs/types/PanoMeasureReturnType.html +4 -4
  268. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  269. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  270. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  271. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  272. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  273. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  274. package/docs/types/PlaneTag.html +4 -4
  275. package/docs/types/Point2DTag.html +4 -4
  276. package/docs/types/Point3DTag.html +4 -4
  277. package/docs/types/PointTag.html +4 -4
  278. package/docs/types/PointTagInstance.html +4 -4
  279. package/docs/types/Position.html +4 -4
  280. package/docs/types/RotateArgs.html +4 -4
  281. package/docs/types/RotateOpts.html +4 -4
  282. package/docs/types/RuleLabelsKey.html +4 -4
  283. package/docs/types/RuleLabelsValue.html +4 -4
  284. package/docs/types/StickType.html +4 -4
  285. package/docs/types/Tag.html +4 -4
  286. package/docs/types/Tag2D.html +4 -4
  287. package/docs/types/Tag3D.html +4 -4
  288. package/docs/types/TagContentType.html +4 -4
  289. package/docs/types/TagDimensionType.html +4 -4
  290. package/docs/types/TagElement.html +4 -4
  291. package/docs/types/TagEvents.html +4 -4
  292. package/docs/types/TagGLTFObject.html +4 -4
  293. package/docs/types/TagHooks.html +4 -4
  294. package/docs/types/TagId.html +4 -4
  295. package/docs/types/TagInstance.html +4 -4
  296. package/docs/types/TagPointType.html +4 -4
  297. package/docs/types/TagRendererMap.html +4 -4
  298. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  299. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  300. package/docs/types/WorkCode.html +4 -4
  301. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  302. package/docs/variables/PLUGIN.html +4 -4
  303. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  304. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  305. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  306. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  307. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  308. package/libs/CruisePlugin/Controller.js +103 -90
  309. package/libs/CruisePlugin/index.js +22 -9
  310. package/libs/GuideLinePlugin/Components/Tag.js +58 -48
  311. package/libs/GuideLinePlugin/Controller.js +38 -25
  312. package/libs/GuideLinePlugin/GuideLineItem.js +19 -6
  313. package/libs/GuideLinePlugin/GuideLineModeItem.js +19 -6
  314. package/libs/GuideLinePlugin/index.js +24 -11
  315. package/libs/ItemLabelPlugin/ItemLabelComponent.js +152 -139
  316. package/libs/ItemLabelPlugin/ItemLabelItem.js +67 -57
  317. package/libs/ItemLabelPlugin/Plugin.js +37 -26
  318. package/libs/ItemLabelPlugin/index.js +16 -5
  319. package/libs/ModelItemLabelPlugin/ItemLabelComponent.js +116 -103
  320. package/libs/ModelItemLabelPlugin/ItemLabelItem.js +45 -35
  321. package/libs/ModelItemLabelPlugin/ModelItemLabelPlugin.js +35 -24
  322. package/libs/ModelItemLabelPlugin/index.js +16 -5
  323. package/libs/ModelRoomLabelPlugin/Controller.js +20 -8
  324. package/libs/ModelRoomLabelPlugin/RoomLabelItem.js +52 -42
  325. package/libs/ModelRoomLabelPlugin/RoomLabelItems.js +75 -61
  326. package/libs/ModelRoomLabelPlugin/index.js +17 -5
  327. package/libs/PanoDoorLabelPlugin/Controller.js +65 -55
  328. package/libs/PanoDoorLabelPlugin/DoorLabelItem.js +55 -45
  329. package/libs/PanoDoorLabelPlugin/index.js +14 -4
  330. package/libs/PanoMeasurePlugin/Components/Common/CircleButton.js +70 -60
  331. package/libs/PanoMeasurePlugin/Components/Common/Exit.js +32 -22
  332. package/libs/PanoMeasurePlugin/Components/Common/Switcher0.js +75 -62
  333. package/libs/PanoMeasurePlugin/Components/Common/Switcher1.js +110 -97
  334. package/libs/PanoMeasurePlugin/Components/Controller0.js +48 -37
  335. package/libs/PanoMeasurePlugin/Components/Controller1.js +59 -48
  336. package/libs/PanoMeasurePlugin/Components/Tip.js +74 -64
  337. package/libs/PanoMeasurePlugin/Controller/index.js +86 -75
  338. package/libs/PanoMeasurePlugin/Modules/GuideController.js +25 -15
  339. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -5
  340. package/libs/PanoMeasurePlugin/index.js +27 -16
  341. package/libs/PanoRulerProPlugin/Controller.js +38 -27
  342. package/libs/PanoRulerProPlugin/RulerItem.js +91 -78
  343. package/libs/PanoRulerProPlugin/RulerItems.js +95 -82
  344. package/libs/PanoRulerProPlugin/index.js +15 -4
  345. package/libs/PanoSpatialTagPlugin/Components/origins.js +51 -38
  346. package/libs/PanoSpatialTagPlugin/Components/tag.js +32 -22
  347. package/libs/PanoSpatialTagPlugin/Plugin.js +116 -105
  348. package/libs/PanoSpatialTagPlugin/index.js +13 -2
  349. package/libs/PanoSpatialTagPlugin/store.d.ts +1 -0
  350. package/libs/PanoSpatialTagPlugin/store.js +2 -2
  351. package/libs/PanoTagPlugin/Components/Common/Arrow.js +44 -34
  352. package/libs/PanoTagPlugin/Components/Common/Audio.js +99 -89
  353. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +139 -128
  354. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +53 -43
  355. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +59 -49
  356. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +79 -69
  357. package/libs/PanoTagPlugin/Components/Common/Media.js +182 -168
  358. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +128 -118
  359. package/libs/PanoTagPlugin/Components/Common/Shadow.js +40 -30
  360. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +35 -24
  361. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +97 -86
  362. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +88 -75
  363. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +103 -95
  364. package/libs/PanoTagPlugin/Components/Common/TextItem.js +59 -49
  365. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +106 -95
  366. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +92 -81
  367. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +68 -57
  368. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +45 -35
  369. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +122 -110
  370. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +53 -42
  371. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +118 -103
  372. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +66 -54
  373. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +131 -108
  374. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +101 -90
  375. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +54 -43
  376. package/libs/PanoTagPlugin/Components/Tag/index.js +151 -138
  377. package/libs/PanoTagPlugin/Components/TagContainer.js +72 -57
  378. package/libs/PanoTagPlugin/Components/TagItem.js +60 -47
  379. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -2
  380. package/libs/PanoTagPlugin/controller/TagRender.js +19 -6
  381. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -2
  382. package/libs/PanoTagPlugin/controller/index.js +95 -82
  383. package/libs/PanoTagPlugin/index.js +26 -13
  384. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  385. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +10 -0
  386. package/libs/base/BasePlugin.js +1 -1
  387. package/libs/floorplan/Components/BaseImage.js +43 -39
  388. package/libs/floorplan/Components/Camera.js +16 -13
  389. package/libs/floorplan/Components/Compass.js +27 -24
  390. package/libs/floorplan/Components/CurrentFloor.js +25 -20
  391. package/libs/floorplan/Components/Main.js +58 -49
  392. package/libs/floorplan/Components/Normalmage.js +25 -22
  393. package/libs/floorplan/Components/RoomHighlight/Room.js +28 -25
  394. package/libs/floorplan/Components/RoomHighlight/RoomHighlight.js +69 -61
  395. package/libs/floorplan/Components/RoomLabels/RoomLabel.js +50 -47
  396. package/libs/floorplan/Components/RoomLabels/RoomLabels.js +69 -61
  397. package/libs/floorplan/Components/RoomMaterials/RoomMaterial.js +125 -118
  398. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_0.js +25 -22
  399. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_1.js +43 -40
  400. package/libs/floorplan/Components/RoomMaterials/RoomMaterial_2.js +32 -29
  401. package/libs/floorplan/Components/RuleLabels/RuleItem.js +49 -41
  402. package/libs/floorplan/Components/RuleLabels/RuleLabels.js +102 -94
  403. package/libs/floorplan/Components/SvgImage.js +30 -27
  404. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +41 -29
  405. package/libs/floorplan/MapviewFloorplanPlugin/index.js +19 -7
  406. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +35 -23
  407. package/libs/floorplan/ModelFloorplanPlugin/index.js +19 -7
  408. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +52 -42
  409. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +71 -59
  410. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +66 -53
  411. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +69 -57
  412. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +67 -55
  413. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +16 -4
  414. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +46 -34
  415. package/libs/floorplan/TopviewFloorplanPlugin/index.js +19 -7
  416. package/libs/floorplan/index.js +1 -0
  417. package/libs/index.js +126 -112
  418. package/libs/shared-utils/logger.js +1 -1
  419. package/libs/vendor/svelte/src/runtime/internal/Component.js +122 -0
  420. package/libs/vendor/svelte/src/runtime/internal/ResizeObserverSingleton.js +1 -0
  421. package/libs/vendor/svelte/src/runtime/internal/animations.js +1 -0
  422. package/libs/vendor/svelte/src/runtime/internal/await_block.js +47 -0
  423. package/libs/vendor/svelte/src/runtime/internal/dev.js +1 -0
  424. package/libs/vendor/svelte/src/runtime/internal/disclose-version/index.js +2 -0
  425. package/libs/vendor/svelte/src/runtime/internal/dom.js +214 -0
  426. package/libs/vendor/svelte/src/runtime/internal/each.js +46 -0
  427. package/libs/vendor/svelte/src/runtime/internal/environment.js +7 -0
  428. package/libs/vendor/svelte/src/runtime/internal/globals.js +7 -0
  429. package/libs/vendor/svelte/src/runtime/internal/index.js +1 -0
  430. package/libs/vendor/svelte/src/runtime/internal/lifecycle.js +63 -0
  431. package/libs/vendor/svelte/src/runtime/internal/loop.js +21 -0
  432. package/libs/vendor/svelte/src/runtime/internal/scheduler.js +66 -0
  433. package/libs/vendor/svelte/src/runtime/internal/spread.js +26 -0
  434. package/libs/vendor/svelte/src/runtime/internal/ssr.js +1 -0
  435. package/libs/vendor/svelte/src/runtime/internal/style_manager.js +48 -0
  436. package/libs/vendor/svelte/src/runtime/internal/transitions.js +192 -0
  437. package/libs/vendor/svelte/src/runtime/internal/utils.js +110 -0
  438. package/libs/vendor/svelte/{store → src/runtime/store}/index.js +5 -5
  439. package/libs/vendor/svelte/{transition → src/runtime/transition}/index.js +1 -1
  440. package/libs/vendor/svelte/src/shared/boolean_attributes.js +1 -0
  441. package/libs/vendor/svelte/src/shared/utils/names.js +1 -0
  442. package/libs/vendor/svelte/src/shared/version.js +4 -0
  443. package/libs/vendor/svelte-carousel/src/components/Arrow/Arrow.js +27 -23
  444. package/libs/vendor/svelte-carousel/src/components/Carousel/Carousel.js +197 -225
  445. package/libs/vendor/svelte-carousel/src/components/Dot/Dot.js +16 -12
  446. package/libs/vendor/svelte-carousel/src/components/Dots/Dots.js +65 -59
  447. package/libs/vendor/svelte-carousel/src/components/Progress/Progress.js +32 -29
  448. package/package.json +1 -1
  449. package/libs/vendor/svelte/internal/index.js +0 -749
  450. /package/libs/vendor/svelte/{easing → src/runtime/easing}/index.js +0 -0
  451. /package/libs/vendor/svelte/{index.js → src/runtime/index.js} +0 -0
@@ -1,40 +1,50 @@
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";
1
+ import { safe_not_equal as q, noop as B, src_url_equal as P, run_all as A } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as J, empty as R, insert as p, detach as k, element as g, attr as r, space as X, set_style as S, toggle_class as v, append as j, listen as I } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { binding_callbacks as D } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
4
+ import { getContext as U, onMount as G } from "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
5
+ import { SvelteComponent as K, init as Q } from "../../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
2
7
  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}");
8
+ import "../../../vendor/svelte/src/runtime/internal/transitions.js";
9
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
10
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
12
+ import "../../../vendor/svelte/src/shared/version.js";
13
+ function x(l) {
14
+ J(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}");
5
15
  }
6
- function L(o) {
16
+ function L(l) {
7
17
  let e;
8
- function i(l, r) {
18
+ function i(o, a) {
9
19
  if (
10
20
  /*media*/
11
- l[2].type === "Image"
21
+ o[2].type === "Image"
12
22
  )
13
23
  return ee;
14
24
  if (
15
25
  /*media*/
16
- l[2].type === "Video"
26
+ o[2].type === "Video"
17
27
  )
18
28
  return $;
19
29
  }
20
- let t = i(o), n = t && t(o);
30
+ let t = i(l), n = t && t(l);
21
31
  return {
22
32
  c() {
23
- e = g("div"), n && n.c(), a(e, "class", "media-item svelte-159ski6"), a(e, "draggable", "false");
33
+ e = g("div"), n && n.c(), r(e, "class", "media-item svelte-159ski6"), r(e, "draggable", "false");
24
34
  },
25
- m(l, r) {
26
- k(l, e, r), n && n.m(e, null);
35
+ m(o, a) {
36
+ p(o, e, a), n && n.m(e, null);
27
37
  },
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)));
38
+ p(o, a) {
39
+ t === (t = i(o)) && n ? n.p(o, a) : (n && n.d(1), n = t && t(o), n && (n.c(), n.m(e, null)));
30
40
  },
31
- d(l) {
32
- l && y(e), n && n.d();
41
+ d(o) {
42
+ o && k(e), n && n.d();
33
43
  }
34
44
  };
35
45
  }
36
- function $(o) {
37
- let e, i, t, n, l, r;
46
+ function $(l) {
47
+ let e, i, t, n, o, a;
38
48
  function c(u, m) {
39
49
  return (
40
50
  /*disableVideoIfHavePoster*/
@@ -42,43 +52,43 @@ function $(o) {
42
52
  u[2].videoCoverUrl ? ie : te
43
53
  );
44
54
  }
45
- let d = c(o), f = d(o);
55
+ let d = c(l), f = d(l);
46
56
  return {
47
57
  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(
58
+ f.c(), e = X(), i = g("div"), t = g("div"), n = g("div"), r(n, "class", "video-icon-img svelte-159ski6"), S(n, "background-image", "url(" + /*func*/
59
+ l[20]() + ")"), v(
50
60
  n,
51
61
  "canPlay",
52
62
  /*canPlay*/
53
- o[5]
54
- ), a(t, "class", "video-icon svelte-159ski6"), v(
63
+ l[5]
64
+ ), r(t, "class", "video-icon svelte-159ski6"), v(
55
65
  t,
56
66
  "large",
57
67
  /*playButtonSizeIfNeed*/
58
- o[4] === "large"
68
+ l[4] === "large"
59
69
  ), v(
60
70
  t,
61
71
  "small",
62
72
  /*playButtonSizeIfNeed*/
63
- o[4] === "small"
64
- ), a(i, "class", "video-play-button-container svelte-159ski6"), v(
73
+ l[4] === "small"
74
+ ), r(i, "class", "video-play-button-container svelte-159ski6"), v(
65
75
  i,
66
76
  "showPlayButton",
67
77
  /*showPlayButton*/
68
- o[10]
78
+ l[10]
69
79
  );
70
80
  },
71
81
  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(
82
+ f.m(u, m), p(u, e, m), p(u, i, m), j(i, t), j(t, n), o || (a = I(
73
83
  n,
74
84
  "click",
75
85
  /*click_handler_1*/
76
- o[21]
77
- ), l = !0);
86
+ l[21]
87
+ ), o = !0);
78
88
  },
79
89
  p(u, m) {
80
90
  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*/
91
+ 8 && S(n, "background-image", "url(" + /*func*/
82
92
  u[20]() + ")"), m & /*canPlay*/
83
93
  32 && v(
84
94
  n,
@@ -106,95 +116,95 @@ function $(o) {
106
116
  );
107
117
  },
108
118
  d(u) {
109
- f.d(u), u && y(e), u && y(i), l = !1, r();
119
+ u && (k(e), k(i)), f.d(u), o = !1, a();
110
120
  }
111
121
  };
112
122
  }
113
- function ee(o) {
123
+ function ee(l) {
114
124
  let e, i, t, n;
115
125
  return {
116
126
  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);
127
+ e = g("img"), r(e, "class", "media-content svelte-159ski6"), r(e, "style", i = `object-fit: ${/*objectFit*/
128
+ l[6]};`), P(e.src, t = /*media*/
129
+ l[2].url) || r(e, "src", t), r(e, "alt", n = /*media*/
130
+ l[2].name), r(e, "draggable", !1);
121
131
  },
122
- m(l, r) {
123
- k(l, e, r);
132
+ m(o, a) {
133
+ p(o, e, a);
124
134
  },
125
- p(l, r) {
126
- r & /*objectFit*/
135
+ p(o, a) {
136
+ a & /*objectFit*/
127
137
  64 && i !== (i = `object-fit: ${/*objectFit*/
128
- l[6]};`) && a(e, "style", i), r & /*media*/
138
+ o[6]};`) && r(e, "style", i), a & /*media*/
129
139
  4 && !P(e.src, t = /*media*/
130
- l[2].url) && a(e, "src", t), r & /*media*/
140
+ o[2].url) && r(e, "src", t), a & /*media*/
131
141
  4 && n !== (n = /*media*/
132
- l[2].name) && a(e, "alt", n);
142
+ o[2].name) && r(e, "alt", n);
133
143
  },
134
- d(l) {
135
- l && y(e);
144
+ d(o) {
145
+ o && k(e);
136
146
  }
137
147
  };
138
148
  }
139
- function te(o) {
140
- let e, i, t, n, l, r, c;
149
+ function te(l) {
150
+ let e, i, t, n, o, a, c;
141
151
  return {
142
152
  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 ? (
153
+ e = g("video"), r(e, "class", "media-content svelte-159ski6"), r(e, "style", i = `object-fit: ${/*objectFit*/
154
+ l[6]};`), P(e.src, t = /*media*/
155
+ l[2].videoCoverUrl ? (
146
156
  /*media*/
147
- o[2].url
157
+ l[2].url
148
158
  ) : (
149
159
  /*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(
160
+ l[2].url + "#t=0.1"
161
+ )) || r(e, "src", t), r(e, "poster", n = /*media*/
162
+ l[2].videoCoverUrl), r(e, "preload", o = /*media*/
163
+ l[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.controls = !1, v(
154
164
  e,
155
165
  "showPlayButton",
156
166
  /*showPlayButton*/
157
- o[10]
167
+ l[10]
158
168
  );
159
169
  },
160
170
  m(d, f) {
161
- k(d, e, f), o[19](e), r || (c = [
171
+ p(d, e, f), l[19](e), a || (c = [
162
172
  I(
163
173
  e,
164
174
  "play",
165
175
  /*play_handler*/
166
- o[14]
176
+ l[14]
167
177
  ),
168
178
  I(
169
179
  e,
170
180
  "pause",
171
181
  /*pause_handler*/
172
- o[15]
182
+ l[15]
173
183
  ),
174
184
  I(
175
185
  e,
176
186
  "error",
177
187
  /*error_handler*/
178
- o[16]
188
+ l[16]
179
189
  ),
180
190
  I(
181
191
  e,
182
192
  "ended",
183
193
  /*ended_handler*/
184
- o[17]
194
+ l[17]
185
195
  ),
186
196
  I(
187
197
  e,
188
198
  "click",
189
199
  /*click_handler*/
190
- o[18]
200
+ l[18]
191
201
  )
192
- ], r = !0);
202
+ ], a = !0);
193
203
  },
194
204
  p(d, f) {
195
205
  f & /*objectFit*/
196
206
  64 && i !== (i = `object-fit: ${/*objectFit*/
197
- d[6]};`) && a(e, "style", i), f & /*media*/
207
+ d[6]};`) && r(e, "style", i), f & /*media*/
198
208
  4 && !P(e.src, t = /*media*/
199
209
  d[2].videoCoverUrl ? (
200
210
  /*media*/
@@ -202,11 +212,11 @@ function te(o) {
202
212
  ) : (
203
213
  /*media*/
204
214
  d[2].url + "#t=0.1"
205
- )) && a(e, "src", t), f & /*media*/
215
+ )) && r(e, "src", t), f & /*media*/
206
216
  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*/
217
+ d[2].videoCoverUrl) && r(e, "poster", n), f & /*media*/
218
+ 4 && o !== (o = /*media*/
219
+ d[2].videoCoverUrl ? "none" : "auto") && r(e, "preload", o), f & /*showPlayButton*/
210
220
  1024 && v(
211
221
  e,
212
222
  "showPlayButton",
@@ -215,47 +225,47 @@ function te(o) {
215
225
  );
216
226
  },
217
227
  d(d) {
218
- d && y(e), o[19](null), r = !1, Q(c);
228
+ d && k(e), l[19](null), a = !1, A(c);
219
229
  }
220
230
  };
221
231
  }
222
- function ie(o) {
232
+ function ie(l) {
223
233
  let e, i, t, n;
224
234
  return {
225
235
  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);
236
+ e = g("img"), r(e, "class", "media-content svelte-159ski6"), r(e, "style", i = `object-fit: ${/*objectFit*/
237
+ l[6]};`), P(e.src, t = /*media*/
238
+ l[2].videoCoverUrl) || r(e, "src", t), r(e, "alt", n = /*media*/
239
+ l[2].name), r(e, "draggable", !1);
230
240
  },
231
- m(l, r) {
232
- k(l, e, r);
241
+ m(o, a) {
242
+ p(o, e, a);
233
243
  },
234
- p(l, r) {
235
- r & /*objectFit*/
244
+ p(o, a) {
245
+ a & /*objectFit*/
236
246
  64 && i !== (i = `object-fit: ${/*objectFit*/
237
- l[6]};`) && a(e, "style", i), r & /*media*/
247
+ o[6]};`) && r(e, "style", i), a & /*media*/
238
248
  4 && !P(e.src, t = /*media*/
239
- l[2].videoCoverUrl) && a(e, "src", t), r & /*media*/
249
+ o[2].videoCoverUrl) && r(e, "src", t), a & /*media*/
240
250
  4 && n !== (n = /*media*/
241
- l[2].name) && a(e, "alt", n);
251
+ o[2].name) && r(e, "alt", n);
242
252
  },
243
- d(l) {
244
- l && y(e);
253
+ d(o) {
254
+ o && k(e);
245
255
  }
246
256
  };
247
257
  }
248
- function le(o) {
258
+ function oe(l) {
249
259
  let e, i = (
250
260
  /*media*/
251
- o[2] && L(o)
261
+ l[2] && L(l)
252
262
  );
253
263
  return {
254
264
  c() {
255
- i && i.c(), e = X();
265
+ i && i.c(), e = R();
256
266
  },
257
267
  m(t, n) {
258
- i && i.m(t, n), k(t, e, n);
268
+ i && i.m(t, n), p(t, e, n);
259
269
  },
260
270
  p(t, [n]) {
261
271
  /*media*/
@@ -264,77 +274,77 @@ function le(o) {
264
274
  i: B,
265
275
  o: B,
266
276
  d(t) {
267
- i && i.d(t), t && y(e);
277
+ t && k(e), i && i.d(t);
268
278
  }
269
279
  };
270
280
  }
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;
281
+ function le(l, e, i) {
282
+ let t, n, { mediaInstance: o = { videoInstance: void 0, paused: !0 } } = e, { tag: a } = e, { media: c } = e, { playButtonIfNeed: d = "withoutText" } = e, { playButtonSizeIfNeed: f = "small" } = e, { canPlay: u = !0 } = e, { objectFit: m = "fill" } = e, { disableVideoIfHavePoster: C = !1 } = e, y = !0, h = !1;
273
283
  function N() {
274
284
  i(8, h = (c == null ? void 0 : c.type) === "Video" && !!c.videoCoverUrl);
275
285
  }
276
- const w = S("mediaStore"), b = S("hooks"), _ = () => {
286
+ const w = U("mediaStore"), b = U("hooks"), _ = () => {
277
287
  h || t && (i(9, t.muted = !0, t), t.play(), t.pause(), i(9, t.muted = !1, t), i(8, h = !0));
278
288
  };
279
- b.on("loadVideoFirstFrame", _), D(() => {
289
+ b.on("loadVideoFirstFrame", _), G(() => {
280
290
  w.subscribe(({ currentMediaElement: s }) => {
281
291
  s !== t && (t == null || t.pause());
282
292
  });
283
293
  });
284
294
  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", {
295
+ i(10, y = !1), i(0, o.paused = !1, o), i(8, h = !0), t && w.set({ currentMediaElement: t }), b.emit("playStateChange", {
286
296
  event: s,
287
297
  state: "playing",
288
- tag: r,
298
+ tag: a,
289
299
  mediaInstance: t
290
300
  });
291
301
  }, E = (s) => {
292
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
302
+ i(10, y = !0), i(0, o.paused = !0, o), b.emit("playStateChange", {
293
303
  event: s,
294
304
  state: "paused",
295
- tag: r,
305
+ tag: a,
296
306
  mediaInstance: t
297
307
  });
298
308
  }, z = (s) => {
299
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
309
+ i(10, y = !0), i(0, o.paused = !0, o), b.emit("playStateChange", {
300
310
  event: s,
301
311
  state: "paused",
302
- tag: r,
312
+ tag: a,
303
313
  mediaInstance: t
304
314
  });
305
315
  }, F = (s) => {
306
- i(10, p = !0), i(0, l.paused = !0, l), b.emit("playStateChange", {
316
+ i(10, y = !0), i(0, o.paused = !0, o), b.emit("playStateChange", {
307
317
  event: s,
308
318
  state: "paused",
309
- tag: r,
319
+ tag: a,
310
320
  mediaInstance: t
311
321
  });
312
322
  }, O = (s) => {
313
323
  t && t.pause();
314
324
  };
315
325
  function W(s) {
316
- G[s ? "unshift" : "push"](() => {
317
- l.videoInstance = s, i(0, l);
326
+ D[s ? "unshift" : "push"](() => {
327
+ o.videoInstance = s, i(0, o);
318
328
  });
319
329
  }
320
330
  const H = () => d === "withText" ? Y : d === "withoutText" ? Z : d, T = (s) => {
321
331
  u && t && (i(9, t.muted = !1, t), t.play());
322
332
  };
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*/
333
+ return l.$$set = (s) => {
334
+ "mediaInstance" in s && i(0, o = s.mediaInstance), "tag" in s && i(1, a = 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);
335
+ }, l.$$.update = () => {
336
+ if (l.$$.dirty & /*mediaInstance*/
337
+ 1 && i(9, t = o.videoInstance), l.$$.dirty & /*media*/
338
+ 4 && i(13, n = c == null ? void 0 : c.url), l.$$.dirty & /*mediaUrl*/
339
+ 8192 && n && N(), l.$$.dirty & /*videoInstance*/
340
+ 512 && t && i(10, y = t.paused), l.$$.dirty & /*media, videoPosterLoaded, videoInstance*/
331
341
  772 && (c == null ? void 0 : c.type) === "Video" && !h) {
332
342
  const s = navigator.userAgent.toLowerCase().indexOf("micromessenger") !== -1, M = navigator.userAgent.toLowerCase().indexOf("iphone") !== -1 && s;
333
343
  t && M && t.paused && (document.removeEventListener("WeixinJSBridgeReady", _), document.removeEventListener("touchstart", _), document.removeEventListener("click", _), document.addEventListener("WeixinJSBridgeReady", _), document.addEventListener("touchstart", _), document.addEventListener("click", _));
334
344
  }
335
345
  }, [
336
- l,
337
- r,
346
+ o,
347
+ a,
338
348
  c,
339
349
  d,
340
350
  f,
@@ -343,7 +353,7 @@ function oe(o, e, i) {
343
353
  C,
344
354
  h,
345
355
  t,
346
- p,
356
+ y,
347
357
  w,
348
358
  b,
349
359
  n,
@@ -357,14 +367,14 @@ function oe(o, e, i) {
357
367
  T
358
368
  ];
359
369
  }
360
- class re extends q {
370
+ class ke extends K {
361
371
  constructor(e) {
362
- super(), A(
372
+ super(), Q(
363
373
  this,
364
374
  e,
365
- oe,
366
375
  le,
367
- J,
376
+ oe,
377
+ q,
368
378
  {
369
379
  mediaInstance: 0,
370
380
  tag: 1,
@@ -380,5 +390,5 @@ class re extends q {
380
390
  }
381
391
  }
382
392
  export {
383
- re as default
393
+ ke as default
384
394
  };
@@ -1,14 +1,24 @@
1
- import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as h, transition_out as D, check_outros as A, detach as I, element as B, attr as m, set_style as s, add_render_callback as E, create_in_transition as F, create_out_transition as G, group_outros as H } from "../../../vendor/svelte/internal/index.js";
2
- import { fade as R } from "../../../vendor/svelte/transition/index.js";
3
- import "../../../vendor/svelte/easing/index.js";
1
+ import { safe_not_equal as X } from "../../../vendor/svelte/src/runtime/internal/utils.js";
2
+ import { append_styles as S, empty as q, insert as v, detach as I, element as N, attr as s, set_style as d } from "../../../vendor/svelte/src/runtime/internal/dom.js";
3
+ import { transition_in as h, transition_out as D, check_outros as j, create_in_transition as A, create_out_transition as B, group_outros as E } from "../../../vendor/svelte/src/runtime/internal/transitions.js";
4
+ import { add_render_callback as F } from "../../../vendor/svelte/src/runtime/internal/scheduler.js";
5
+ import { SvelteComponent as G, init as H } from "../../../vendor/svelte/src/runtime/internal/Component.js";
6
+ import "../../../vendor/svelte/src/runtime/internal/disclose-version/index.js";
7
+ import { fade as R } from "../../../vendor/svelte/src/runtime/transition/index.js";
8
+ import "../../../vendor/svelte/src/runtime/internal/environment.js";
9
+ import "../../../vendor/svelte/src/runtime/internal/loop.js";
10
+ import "../../../vendor/svelte/src/runtime/internal/style_manager.js";
11
+ import "../../../vendor/svelte/src/runtime/internal/lifecycle.js";
12
+ import "../../../vendor/svelte/src/shared/version.js";
13
+ import "../../../vendor/svelte/src/runtime/easing/index.js";
4
14
  function J(t) {
5
- N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
15
+ S(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
6
16
  }
7
17
  function k(t) {
8
18
  let i, e, l, f, u;
9
19
  return {
10
20
  c() {
11
- i = B("div"), m(i, "class", "shadow svelte-faoauy"), m(i, "style", e = `
21
+ i = N("div"), s(i, "class", "shadow svelte-faoauy"), s(i, "style", e = `
12
22
  left:${o(
13
23
  /*left*/
14
24
  t[5]
@@ -31,13 +41,13 @@ function k(t) {
31
41
  t[9] ? "transform: translateX(-50%); top: 50%" : ""}
32
42
  ${/*center*/
33
43
  t[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
34
- `), s(i, "width", o(
44
+ `), d(i, "width", o(
35
45
  /*width*/
36
46
  t[3]
37
- )), s(i, "height", o(
47
+ )), d(i, "height", o(
38
48
  /*height*/
39
49
  t[4]
40
- )), s(
50
+ )), d(
41
51
  i,
42
52
  "z-index",
43
53
  /*zIndex*/
@@ -72,19 +82,19 @@ function k(t) {
72
82
  t[9] ? "transform: translateX(-50%); top: 50%" : ""}
73
83
  ${/*center*/
74
84
  t[7] ? "transform: translate(-50%, -50%); left: 50%; top: 50%;" : ""}
75
- `)) && m(i, "style", e);
76
- const d = r & /*left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
85
+ `)) && s(i, "style", e);
86
+ const m = r & /*left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
77
87
  8160;
78
- (d || r & /*width, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
79
- 8168) && s(i, "width", o(
88
+ (m || r & /*width, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
89
+ 8168) && d(i, "width", o(
80
90
  /*width*/
81
91
  t[3]
82
- )), (d || r & /*height, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
83
- 8176) && s(i, "height", o(
92
+ )), (m || r & /*height, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
93
+ 8176) && d(i, "height", o(
84
94
  /*height*/
85
95
  t[4]
86
- )), (d || r & /*zIndex, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
87
- 16352) && s(
96
+ )), (m || r & /*zIndex, left, bottom, blurRadius, spreadRadius, opacity, horizontalCenter, verticalCenter, center*/
97
+ 16352) && d(
88
98
  i,
89
99
  "z-index",
90
100
  /*zIndex*/
@@ -92,15 +102,15 @@ function k(t) {
92
102
  );
93
103
  },
94
104
  i(a) {
95
- u || (a && E(() => {
96
- u && (f && f.end(1), l = F(i, R, { duration: (
105
+ u || (a && F(() => {
106
+ u && (f && f.end(1), l = A(i, R, { duration: (
97
107
  /*inDelay*/
98
108
  t[0]
99
109
  ) }), l.start());
100
110
  }), u = !0);
101
111
  },
102
112
  o(a) {
103
- l && l.invalidate(), a && (f = G(i, R, { duration: (
113
+ l && l.invalidate(), a && (f = B(i, R, { duration: (
104
114
  /*outDelay*/
105
115
  t[1]
106
116
  ) })), u = !1;
@@ -117,7 +127,7 @@ function K(t) {
117
127
  );
118
128
  return {
119
129
  c() {
120
- e && e.c(), i = j();
130
+ e && e.c(), i = q();
121
131
  },
122
132
  m(l, f) {
123
133
  e && e.m(l, f), v(l, i, f);
@@ -125,9 +135,9 @@ function K(t) {
125
135
  p(l, [f]) {
126
136
  /*visible*/
127
137
  l[2] ? e ? (e.p(l, f), f & /*visible*/
128
- 4 && h(e, 1)) : (e = k(l), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (H(), D(e, 1, 1, () => {
138
+ 4 && h(e, 1)) : (e = k(l), e.c(), h(e, 1), e.m(i.parentNode, i)) : e && (E(), D(e, 1, 1, () => {
129
139
  e = null;
130
- }), A());
140
+ }), j());
131
141
  },
132
142
  i(l) {
133
143
  h(e);
@@ -136,7 +146,7 @@ function K(t) {
136
146
  D(e);
137
147
  },
138
148
  d(l) {
139
- e && e.d(l), l && I(i);
149
+ l && I(i), e && e.d(l);
140
150
  }
141
151
  };
142
152
  }
@@ -144,16 +154,16 @@ function o(t) {
144
154
  return typeof t == "number" ? t / 16 + "rem" : t;
145
155
  }
146
156
  function L(t, i, e) {
147
- let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: d = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: g = -1 } = i;
157
+ let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: m = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: g = -1 } = i;
148
158
  return t.$$set = (n) => {
149
- "inDelay" in n && e(0, l = n.inDelay), "outDelay" in n && e(1, f = n.outDelay), "visible" in n && e(2, u = n.visible), "width" in n && e(3, a = n.width), "height" in n && e(4, r = n.height), "left" in n && e(5, d = n.left), "bottom" in n && e(6, _ = n.bottom), "center" in n && e(7, b = n.center), "horizontalCenter" in n && e(8, y = n.horizontalCenter), "verticalCenter" in n && e(9, c = n.verticalCenter), "blurRadius" in n && e(10, w = n.blurRadius), "spreadRadius" in n && e(11, z = n.spreadRadius), "opacity" in n && e(12, C = n.opacity), "zIndex" in n && e(13, g = n.zIndex);
159
+ "inDelay" in n && e(0, l = n.inDelay), "outDelay" in n && e(1, f = n.outDelay), "visible" in n && e(2, u = n.visible), "width" in n && e(3, a = n.width), "height" in n && e(4, r = n.height), "left" in n && e(5, m = n.left), "bottom" in n && e(6, _ = n.bottom), "center" in n && e(7, b = n.center), "horizontalCenter" in n && e(8, y = n.horizontalCenter), "verticalCenter" in n && e(9, c = n.verticalCenter), "blurRadius" in n && e(10, w = n.blurRadius), "spreadRadius" in n && e(11, z = n.spreadRadius), "opacity" in n && e(12, C = n.opacity), "zIndex" in n && e(13, g = n.zIndex);
150
160
  }, [
151
161
  l,
152
162
  f,
153
163
  u,
154
164
  a,
155
165
  r,
156
- d,
166
+ m,
157
167
  _,
158
168
  b,
159
169
  y,
@@ -164,14 +174,14 @@ function L(t, i, e) {
164
174
  g
165
175
  ];
166
176
  }
167
- class Q extends X {
177
+ class ee extends G {
168
178
  constructor(i) {
169
- super(), S(
179
+ super(), H(
170
180
  this,
171
181
  i,
172
182
  L,
173
183
  K,
174
- q,
184
+ X,
175
185
  {
176
186
  inDelay: 0,
177
187
  outDelay: 1,
@@ -193,5 +203,5 @@ class Q extends X {
193
203
  }
194
204
  }
195
205
  export {
196
- Q as default
206
+ ee as default
197
207
  };