@realsee/dnalogel 2.3.5-dev.4 → 2.3.5-dev.5

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 (370) hide show
  1. package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/index.cjs.js +1 -1
  4. package/dist/index.js +3 -6
  5. package/dist/index.umd.js +1 -1
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/CSS3DRender.html +31 -31
  8. package/docs/classes/CruisePluginController.html +24 -24
  9. package/docs/classes/Magnifier.html +16 -16
  10. package/docs/classes/ModelRoomLabelController.html +11 -11
  11. package/docs/classes/Object3DHelperController.html +24 -24
  12. package/docs/classes/PaintBrush.html +15 -15
  13. package/docs/classes/PanoTagPluginController.html +41 -41
  14. package/docs/classes/Util.BetterTween.html +8 -8
  15. package/docs/classes/Util.FivePointSelector.html +12 -12
  16. package/docs/classes/Util.Interval.html +12 -12
  17. package/docs/classes/Util.Magnifier.html +17 -17
  18. package/docs/classes/Util.PointDomHelper.html +11 -11
  19. package/docs/classes/Util.PointHelper.html +11 -11
  20. package/docs/classes/Util.Rectangle.html +13 -13
  21. package/docs/enums/CameraMovementEffect.html +7 -7
  22. package/docs/enums/ContentType.html +16 -16
  23. package/docs/enums/DIRECTION.html +9 -9
  24. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  25. package/docs/enums/DimensionType.html +7 -7
  26. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  27. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  32. package/docs/functions/CameraMovementPlugin.html +5 -4
  33. package/docs/functions/CruisePlugin.html +5 -4
  34. package/docs/functions/GuideLinePlugin.html +6 -5
  35. package/docs/functions/ItemLabelPlugin.html +5 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  43. package/docs/functions/ModelViewPlugin.html +5 -4
  44. package/docs/functions/Object3DHelperPlugin.html +5 -4
  45. package/docs/functions/PanoCompassPlugin.html +5 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  49. package/docs/functions/PanoMeasurePlugin.html +5 -4
  50. package/docs/functions/PanoRulerPlugin.html +5 -4
  51. package/docs/functions/PanoRulerProPlugin.html +5 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  53. package/docs/functions/PanoTagPlugin.html +5 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +6 -5
  66. package/docs/index.html +5 -4
  67. package/docs/interfaces/AddTagConfig.html +6 -6
  68. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  69. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  70. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  71. package/docs/interfaces/EventMap.html +15 -15
  72. package/docs/interfaces/FloorplanBounding.html +8 -8
  73. package/docs/interfaces/FloorplanData.html +10 -10
  74. package/docs/interfaces/FloorplanEntrance.html +11 -11
  75. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  76. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  77. package/docs/interfaces/FloorplanFloorData.html +9 -9
  78. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  79. package/docs/interfaces/FloorplanObserver.html +9 -9
  80. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  81. package/docs/interfaces/FloorplanPosition.html +7 -7
  82. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  83. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  84. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  85. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  86. package/docs/interfaces/FloorplanServerData.html +7 -7
  87. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  88. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  89. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  91. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  92. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  93. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  94. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  96. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  97. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  98. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  99. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  100. package/docs/interfaces/LineJson.html +7 -7
  101. package/docs/interfaces/MinMax.html +7 -7
  102. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  104. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  105. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  106. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  107. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  109. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  110. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  112. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  113. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  114. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  115. package/docs/interfaces/Object3DHelperState.html +8 -8
  116. package/docs/interfaces/OpenParameter.html +7 -7
  117. package/docs/interfaces/PaintBrushAction.html +12 -12
  118. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  119. package/docs/interfaces/PaintBrushState.html +10 -10
  120. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  122. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  123. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  126. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  127. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  128. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  129. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  130. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  131. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  132. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  133. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  136. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  137. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  138. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  139. package/docs/interfaces/Point.html +8 -8
  140. package/docs/interfaces/PointJson.html +8 -8
  141. package/docs/interfaces/Room.html +9 -9
  142. package/docs/interfaces/RoomInfo.html +7 -7
  143. package/docs/interfaces/RoomLabel.html +14 -14
  144. package/docs/interfaces/RoomRules.html +6 -5
  145. package/docs/interfaces/Rooms.html +6 -5
  146. package/docs/interfaces/Scissor.html +9 -9
  147. package/docs/interfaces/State.html +8 -8
  148. package/docs/interfaces/TagCache.html +10 -10
  149. package/docs/interfaces/TagConfig.html +10 -10
  150. package/docs/interfaces/TagIconUrl.html +9 -9
  151. package/docs/interfaces/Tags.html +9 -9
  152. package/docs/interfaces/TemporaryState.html +6 -6
  153. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  154. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  155. package/docs/modules/Util.html +5 -5
  156. package/docs/modules.html +6 -4
  157. package/docs/types/ArrayPosition.html +6 -5
  158. package/docs/types/CSS3DRenderExportType.html +6 -5
  159. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  160. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  161. package/docs/types/Color.html +6 -5
  162. package/docs/types/ContentTypeConfigKey.html +6 -5
  163. package/docs/types/ContentTypeMap.html +6 -5
  164. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  165. package/docs/types/Create3DElementReturnType.html +6 -5
  166. package/docs/types/CruisePluginExportType.html +6 -5
  167. package/docs/types/Direction-1.html +6 -5
  168. package/docs/types/Direction4.html +6 -5
  169. package/docs/types/FloorplanRuleLabels.html +6 -5
  170. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  171. package/docs/types/GuideLinePluginExportType.html +6 -5
  172. package/docs/types/HelperEventMap.html +6 -5
  173. package/docs/types/LoadTagConfig.html +248 -0
  174. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  175. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  176. package/docs/types/MediaData.html +6 -5
  177. package/docs/types/MediaStore.html +6 -5
  178. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  179. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  180. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  181. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  182. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  183. package/docs/types/MoveArgs.html +6 -5
  184. package/docs/types/MoveOpts.html +6 -5
  185. package/docs/types/Object3DHelperEventMap.html +6 -5
  186. package/docs/types/ObjectFit.html +6 -5
  187. package/docs/types/PaintBrushEventMap.html +6 -5
  188. package/docs/types/PanoCompassPluginData.html +6 -5
  189. package/docs/types/PanoCompassPluginExportType.html +6 -5
  190. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  191. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  192. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  193. package/docs/types/PanoIndex.html +6 -5
  194. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  195. package/docs/types/PanoMeasureReturnType.html +6 -5
  196. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  197. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  198. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  199. package/docs/types/PlaneTag.html +6 -5
  200. package/docs/types/PlaneTagElement.html +6 -5
  201. package/docs/types/Point2DElement.html +6 -5
  202. package/docs/types/Point2DTag.html +6 -5
  203. package/docs/types/Point3DElement.html +6 -5
  204. package/docs/types/Point3DTag.html +6 -5
  205. package/docs/types/PointTag.html +6 -5
  206. package/docs/types/PointTagElement.html +6 -5
  207. package/docs/types/Position.html +6 -5
  208. package/docs/types/RotateArgs.html +6 -5
  209. package/docs/types/RotateOpts.html +6 -5
  210. package/docs/types/RuleLabelsKey.html +6 -5
  211. package/docs/types/RuleLabelsValue.html +6 -5
  212. package/docs/types/StickType.html +6 -5
  213. package/docs/types/Tag.html +6 -5
  214. package/docs/types/Tag2D.html +6 -5
  215. package/docs/types/Tag3D.html +6 -5
  216. package/docs/types/TagContentType.html +6 -5
  217. package/docs/types/TagDimensionType.html +6 -5
  218. package/docs/types/TagElement.html +6 -5
  219. package/docs/types/TagEvents.html +6 -5
  220. package/docs/types/TagHooks.html +6 -5
  221. package/docs/types/TagIconSize.html +6 -5
  222. package/docs/types/TagId.html +6 -5
  223. package/docs/types/TagPointType.html +6 -5
  224. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  225. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  226. package/docs/types/WorkCode.html +6 -5
  227. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  228. package/docs/variables/PLUGIN.html +6 -5
  229. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  230. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  231. package/docs/variables/VERSION.html +6 -5
  232. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  233. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  234. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  235. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  236. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  237. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  239. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  240. package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
  241. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -1
  242. package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
  244. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
  245. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  247. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  248. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  249. package/libs/CruisePlugin/Controller.js +1 -1
  250. package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
  251. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  252. package/libs/GuideLinePlugin/Controller.js +1 -1
  253. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  254. package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  255. package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
  256. package/libs/Object3DHelperPlugin/Controller.js +2 -2
  257. package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
  258. package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
  259. package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
  260. package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
  261. package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
  262. package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
  263. package/libs/PanoMeasurePlugin/Model/index.js +47 -40
  264. package/libs/PanoMeasurePlugin/Model/line.js +15 -11
  265. package/libs/PanoMeasurePlugin/Model/point.js +5 -5
  266. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  267. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  268. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  269. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  270. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  271. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  272. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  273. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  274. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  275. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  276. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
  277. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
  278. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
  279. package/libs/PanoMeasurePlugin/index.js +2 -2
  280. package/libs/PanoMeasurePlugin/typings/data.js +1 -0
  281. package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
  282. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  283. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  284. package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
  285. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  286. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  287. package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
  288. package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
  289. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  290. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
  291. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  292. package/libs/PanoMeasurePlugin/utils/line.js +1 -0
  293. package/libs/PanoMeasurePlugin/utils/math.js +2 -1
  294. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  295. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  296. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  297. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  298. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  299. package/libs/PanoTagPlugin/Components/Common/Audio.js +24 -24
  300. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +20 -18
  301. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +31 -29
  302. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +19 -19
  303. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +25 -24
  304. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -39
  305. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  306. package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -9
  307. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
  308. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +37 -27
  309. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +25 -25
  310. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +26 -26
  311. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  312. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +22 -18
  313. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +54 -43
  314. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +83 -61
  315. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  316. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +103 -81
  317. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +17 -13
  318. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
  319. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +74 -56
  320. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +27 -23
  321. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +51 -39
  322. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +69 -52
  323. package/libs/PanoTagPlugin/Components/Tag/index.js +119 -79
  324. package/libs/PanoTagPlugin/Components/TagContainer.js +132 -81
  325. package/libs/PanoTagPlugin/Components/TagItem.js +110 -63
  326. package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
  327. package/libs/PanoTagPlugin/controller/TagComputer.js +9 -6
  328. package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
  329. package/libs/PanoTagPlugin/controller/index.js +131 -61
  330. package/libs/PanoTagPlugin/index.js +2 -2
  331. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  332. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  333. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  334. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  335. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  336. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  337. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  338. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  339. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  340. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  341. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  342. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  343. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  344. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  345. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  346. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  347. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  348. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  349. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  350. package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +128 -0
  351. package/libs/PanoTagPlugin/mocks/v2/mock1.js +114 -0
  352. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  353. package/libs/PanoTagPlugin/typings/index.js +7 -1
  354. package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -1
  355. package/libs/PanoTagPlugin/utils/constants.js +2 -1
  356. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  357. package/libs/PanoTagPlugin/utils/getImageInfo.js +16 -15
  358. package/libs/PanoTagPlugin/utils/index.js +35 -0
  359. package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
  360. package/libs/PanoTagPlugin/utils/search.js +27 -9
  361. package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
  362. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +22 -6
  363. package/libs/PanoTagPlugin/utils/timeToString.js +4 -4
  364. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  365. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
  366. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  367. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
  368. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  369. package/libs/index.js +7 -7
  370. package/package.json +1 -1
@@ -1,20 +1,21 @@
1
- import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as h, attr as l, toggle_class as g, set_style as v, append as m, transition_in as C, group_outros as M, transition_out as N, check_outros as O, add_render_callback as R, create_in_transition as V, identity as p, create_out_transition as E } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as G, init as U, safe_not_equal as q, append_styles as A, empty as H, insert as y, noop as j, detach as w, element as I, svg_element as m, attr as l, toggle_class as g, set_style as v, append as h, transition_in as p, group_outros as M, transition_out as N, check_outros as O, add_render_callback as R, create_in_transition as V, identity as C, create_out_transition as E } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { draw as z } from "../../../../vendor/svelte/transition/index.js";
3
3
  import { uuid as F } from "../../../../shared-utils/uuid.js";
4
+ import "../../../../vendor/svelte/easing/index.js";
4
5
  function J(t) {
5
6
  A(t, "svelte-xuejcm", ".line.svelte-xuejcm{position:absolute;pointer-events:none}.line.vertical.svelte-xuejcm{transform:rotate(-90deg) translate3d(0.03125rem, 0, 0.625rem);transform-origin:0 0}.line.horizontal.svelte-xuejcm{transform:translate3d(0, -0.03125rem, 0.625rem)}.straight-line.svelte-xuejcm{display:block;width:100%;height:100%;overflow:visible}");
6
7
  }
7
8
  function L(t) {
8
- let e, i, o, n, s, r, _, f = t[3] && B(t);
9
+ let e, i, n, o, s, r, _, f = t[3] && B(t);
9
10
  return {
10
11
  c() {
11
- e = I("div"), i = h("svg"), o = h("defs"), n = h("linearGradient"), s = h("stop"), r = h("stop"), f && f.c(), l(s, "offset", "25%"), l(s, "stop-color", t[5]), l(s, "stop-opacity", "1"), l(r, "offset", "100%"), l(r, "stop-color", t[5]), l(r, "stop-opacity", "0.5"), l(n, "x1", 0.5), l(n, "y1", 0.5), l(n, "x2", t[8]), l(n, "y2", 0.5), l(n, "id", t[10]), l(n, "gradientUnits", "userSpaceOnUse"), l(i, "class", "straight-line svelte-xuejcm"), l(i, "viewBox", _ = "0 0 " + t[8] + " " + t[7]), l(i, "preserveAspectRatio", "none"), l(e, "class", "line svelte-xuejcm"), g(e, "vertical", t[9]), g(e, "horizontal", !t[9]), v(e, "width", t[8] + "px"), v(e, "height", t[7] + "px");
12
+ e = I("div"), i = m("svg"), n = m("defs"), o = m("linearGradient"), s = m("stop"), r = m("stop"), f && f.c(), l(s, "offset", "25%"), l(s, "stop-color", t[5]), l(s, "stop-opacity", "1"), l(r, "offset", "100%"), l(r, "stop-color", t[5]), l(r, "stop-opacity", "0.5"), l(o, "x1", 0.5), l(o, "y1", 0.5), l(o, "x2", t[8]), l(o, "y2", 0.5), l(o, "id", t[10]), l(o, "gradientUnits", "userSpaceOnUse"), l(i, "class", "straight-line svelte-xuejcm"), l(i, "viewBox", _ = "0 0 " + t[8] + " " + t[7]), l(i, "preserveAspectRatio", "none"), l(e, "class", "line svelte-xuejcm"), g(e, "vertical", t[9]), g(e, "horizontal", !t[9]), v(e, "width", t[8] + "px"), v(e, "height", t[7] + "px");
12
13
  },
13
14
  m(a, d) {
14
- y(a, e, d), m(e, i), m(i, o), m(o, n), m(n, s), m(n, r), f && f.m(i, null);
15
+ y(a, e, d), h(e, i), h(i, n), h(n, o), h(o, s), h(o, r), f && f.m(i, null);
15
16
  },
16
17
  p(a, d) {
17
- d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(n, "x2", a[8]), a[3] ? f ? (f.p(a, d), d & 8 && C(f, 1)) : (f = B(a), f.c(), C(f, 1), f.m(i, null)) : f && (M(), N(f, 1, 1, () => {
18
+ d & 32 && l(s, "stop-color", a[5]), d & 32 && l(r, "stop-color", a[5]), d & 256 && l(o, "x2", a[8]), a[3] ? f ? (f.p(a, d), d & 8 && p(f, 1)) : (f = B(a), f.c(), p(f, 1), f.m(i, null)) : f && (M(), N(f, 1, 1, () => {
18
19
  f = null;
19
20
  }), O()), d & 384 && _ !== (_ = "0 0 " + a[8] + " " + a[7]) && l(i, "viewBox", _), d & 512 && g(e, "vertical", a[9]), d & 512 && g(e, "horizontal", !a[9]), d & 256 && v(e, "width", a[8] + "px"), d & 128 && v(e, "height", a[7] + "px");
20
21
  },
@@ -24,10 +25,10 @@ function L(t) {
24
25
  };
25
26
  }
26
27
  function B(t) {
27
- let e, i, o, n, s;
28
+ let e, i, n, o, s;
28
29
  return {
29
30
  c() {
30
- e = h("path"), l(e, "fill", "none"), l(e, "stroke", i = t[4] ? `url(#${t[10]})` : t[5]), l(e, "stroke-width", 1), l(e, "d", t[6]);
31
+ e = m("path"), l(e, "fill", "none"), l(e, "stroke", i = t[4] ? `url(#${t[10]})` : t[5]), l(e, "stroke-width", 1), l(e, "d", t[6]);
31
32
  },
32
33
  m(r, _) {
33
34
  y(r, e, _), s = !0;
@@ -37,22 +38,22 @@ function B(t) {
37
38
  },
38
39
  i(r) {
39
40
  s || (r && R(() => {
40
- n && n.end(1), o = V(e, z, {
41
+ o && o.end(1), n = V(e, z, {
41
42
  duration: t[2],
42
43
  delay: t[0],
43
- easing: p
44
- }), o.start();
44
+ easing: C
45
+ }), n.start();
45
46
  }), s = !0);
46
47
  },
47
48
  o(r) {
48
- o && o.invalidate(), r && (n = E(e, z, {
49
+ n && n.invalidate(), r && (o = E(e, z, {
49
50
  duration: t[2],
50
51
  delay: t[1],
51
- easing: p
52
+ easing: C
52
53
  })), s = !1;
53
54
  },
54
55
  d(r) {
55
- r && w(e), r && n && n.end();
56
+ r && w(e), r && o && o.end();
56
57
  }
57
58
  };
58
59
  }
@@ -62,26 +63,26 @@ function K(t) {
62
63
  c() {
63
64
  i && i.c(), e = H();
64
65
  },
65
- m(o, n) {
66
- i && i.m(o, n), y(o, e, n);
66
+ m(n, o) {
67
+ i && i.m(n, o), y(n, e, o);
67
68
  },
68
- p(o, [n]) {
69
- o[8] ? i ? i.p(o, n) : (i = L(o), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
69
+ p(n, [o]) {
70
+ n[8] ? i ? i.p(n, o) : (i = L(n), i.c(), i.m(e.parentNode, e)) : i && (i.d(1), i = null);
70
71
  },
71
72
  i: j,
72
73
  o: j,
73
- d(o) {
74
- i && i.d(o), o && w(e);
74
+ d(n) {
75
+ i && i.d(n), n && w(e);
75
76
  }
76
77
  };
77
78
  }
78
79
  function P(t, e, i) {
79
- let o, n, s, r, { inDelay: _ = 0 } = e, { outDelay: f = 0 } = e, { duration: a = 1e3 } = e, { unfolded: d } = e, { length: c } = e, { direction: k = "horizontal" } = e, { useLinearColor: b = !1 } = e, { color: D = "white" } = e;
80
+ let n, o, s, r, { inDelay: _ = 0 } = e, { outDelay: f = 0 } = e, { duration: a = 1e3 } = e, { unfolded: d } = e, { length: c } = e, { direction: k = "horizontal" } = e, { useLinearColor: b = !1 } = e, { color: D = "white" } = e;
80
81
  const S = F();
81
82
  return t.$$set = (u) => {
82
83
  "inDelay" in u && i(0, _ = u.inDelay), "outDelay" in u && i(1, f = u.outDelay), "duration" in u && i(2, a = u.duration), "unfolded" in u && i(3, d = u.unfolded), "length" in u && i(11, c = u.length), "direction" in u && i(12, k = u.direction), "useLinearColor" in u && i(4, b = u.useLinearColor), "color" in u && i(5, D = u.color);
83
84
  }, t.$$.update = () => {
84
- t.$$.dirty & 4096 && i(9, o = k === "vertical"), t.$$.dirty & 2048 && i(8, n = c), t.$$.dirty & 2048 && i(6, r = `M0.5 0.5 H ${c}`);
85
+ t.$$.dirty & 4096 && i(9, n = k === "vertical"), t.$$.dirty & 2048 && i(8, o = c), t.$$.dirty & 2048 && i(6, r = `M0.5 0.5 H ${c}`);
85
86
  }, i(7, s = 1), [
86
87
  _,
87
88
  f,
@@ -91,14 +92,14 @@ function P(t, e, i) {
91
92
  D,
92
93
  r,
93
94
  s,
94
- n,
95
95
  o,
96
+ n,
96
97
  S,
97
98
  c,
98
99
  k
99
100
  ];
100
101
  }
101
- class X extends G {
102
+ class Y extends G {
102
103
  constructor(e) {
103
104
  super(), U(
104
105
  this,
@@ -121,5 +122,5 @@ class X extends G {
121
122
  }
122
123
  }
123
124
  export {
124
- X as Straight
125
+ Y as default
125
126
  };
@@ -14,17 +14,25 @@ var Q = (a, n, i) => new Promise((e, t) => {
14
14
  }, u = (o) => o.done ? e(o.value) : Promise.resolve(o.value).then(l, r);
15
15
  u((i = i.apply(a, n)).next());
16
16
  });
17
- import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as $, insert as w, transition_in as y, group_outros as F, transition_out as g, check_outros as V, detach as B, getContext as R, element as fe, attr as ue, toggle_class as U, add_render_callback as se, create_in_transition as de, identity as W, create_out_transition as ce, create_component as N, mount_component as C, destroy_component as E, destroy_each as me, space as ye } from "../../../vendor/svelte/internal/index.js";
17
+ import { SvelteComponent as ae, init as le, safe_not_equal as oe, append_styles as re, empty as $, insert as w, transition_in as y, transition_out as p, check_outros as F, detach as B, getContext as R, element as fe, attr as ue, toggle_class as U, group_outros as V, add_render_callback as se, create_in_transition as de, identity as W, create_out_transition as ce, create_component as N, mount_component as C, destroy_component as E, destroy_each as me, space as ye } from "../../../vendor/svelte/internal/index.js";
18
18
  import { fly as X } from "../../../vendor/svelte/transition/index.js";
19
19
  import { Swiper_1 as _e } from "../../../vendor/swiper/svelte/swiper.js";
20
- import { Swiper_slide as ge } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
- import { Autoplay as he } from "swiper";
20
+ import { Swiper_slide as pe } from "../../../vendor/swiper/svelte/swiper-slide.js";
21
+ import { Autoplay as ge } from "swiper";
22
22
  import "swiper/css";
23
23
  import "swiper/css/autoplay";
24
24
  import "three";
25
25
  import { noTypecheck as z } from "../../utils/noTypecheck.js";
26
- import { MediaItem as ee } from "./MediaItem.js";
27
- import { notNil as pe } from "../../../shared-utils/isNil.js";
26
+ import ee from "./MediaItem.js";
27
+ import { notNil as he } from "../../../shared-utils/isNil.js";
28
+ import "../../../vendor/svelte/easing/index.js";
29
+ import "../../../vendor/swiper/components-shared/get-params.js";
30
+ import "../../../vendor/swiper/components-shared/utils.js";
31
+ import "../../../vendor/swiper/components-shared/params-list.js";
32
+ import "../../../vendor/swiper/components-shared/mount-swiper.js";
33
+ import "../../../vendor/swiper/components-shared/get-changed-params.js";
34
+ import "../../../vendor/swiper/components-shared/update-swiper.js";
35
+ import "../../Assets/Icon.js";
28
36
  function be(a) {
29
37
  re(a, "svelte-ai0lv9", ".media.svelte-ai0lv9{width:100%;height:100%;position:relative;overflow:hidden;border-radius:0.125rem}");
30
38
  }
@@ -35,22 +43,22 @@ function Y(a, n, i) {
35
43
  function Z(a) {
36
44
  let n, i, e, t, l, r;
37
45
  const u = [ke, Ie], o = [];
38
- function m(d, h) {
46
+ function m(d, g) {
39
47
  return d[15] ? 0 : 1;
40
48
  }
41
49
  return i = m(a), e = o[i] = u[i](a), {
42
50
  c() {
43
51
  n = fe("div"), e.c(), ue(n, "class", "media svelte-ai0lv9"), U(n, "unfolded", a[5]);
44
52
  },
45
- m(d, h) {
46
- w(d, n, h), o[i].m(n, null), r = !0;
53
+ m(d, g) {
54
+ w(d, n, g), o[i].m(n, null), r = !0;
47
55
  },
48
- p(d, h) {
56
+ p(d, g) {
49
57
  a = d;
50
58
  let b = i;
51
- i = m(a), i === b ? o[i].p(a, h) : (F(), g(o[b], 1, 1, () => {
59
+ i = m(a), i === b ? o[i].p(a, g) : (V(), p(o[b], 1, 1, () => {
52
60
  o[b] = null;
53
- }), V(), e = o[i], e ? e.p(a, h) : (e = o[i] = u[i](a), e.c()), y(e, 1), e.m(n, null)), (!r || h & 32) && U(n, "unfolded", a[5]);
61
+ }), F(), e = o[i], e ? e.p(a, g) : (e = o[i] = u[i](a), e.c()), y(e, 1), e.m(n, null)), (!r || g & 32) && U(n, "unfolded", a[5]);
54
62
  },
55
63
  i(d) {
56
64
  r || (y(e), d && se(() => {
@@ -63,7 +71,7 @@ function Z(a) {
63
71
  }), r = !0);
64
72
  },
65
73
  o(d) {
66
- g(e), t && t.invalidate(), d && (l = ce(n, X, a[6] ? {
74
+ p(e), t && t.invalidate(), d && (l = ce(n, X, a[6] ? {
67
75
  y: 4,
68
76
  duration: a[4],
69
77
  delay: a[3],
@@ -101,7 +109,7 @@ function Ie(a) {
101
109
  i || (y(n.$$.fragment, e), i = !0);
102
110
  },
103
111
  o(e) {
104
- g(n.$$.fragment, e), i = !1;
112
+ p(n.$$.fragment, e), i = !1;
105
113
  },
106
114
  d(e) {
107
115
  E(n, e);
@@ -113,7 +121,7 @@ function ke(a) {
113
121
  return n = new _e({
114
122
  props: {
115
123
  style: "height: 100%",
116
- modules: [he],
124
+ modules: [ge],
117
125
  spaceBetween: 30,
118
126
  autoplay: a[16] ? z({
119
127
  delay: 4e3,
@@ -143,7 +151,7 @@ function ke(a) {
143
151
  i || (y(n.$$.fragment, e), i = !0);
144
152
  },
145
153
  o(e) {
146
- g(n.$$.fragment, e), i = !1;
154
+ p(n.$$.fragment, e), i = !1;
147
155
  },
148
156
  d(e) {
149
157
  E(n, e);
@@ -176,7 +184,7 @@ function Se(a) {
176
184
  e || (y(n.$$.fragment, t), e = !0);
177
185
  },
178
186
  o(t) {
179
- g(n.$$.fragment, t), e = !1;
187
+ p(n.$$.fragment, t), e = !1;
180
188
  },
181
189
  d(t) {
182
190
  E(n, t), t && B(i);
@@ -205,7 +213,7 @@ function x(a) {
205
213
  i || (y(n.$$.fragment, e), i = !0);
206
214
  },
207
215
  o(e) {
208
- g(n.$$.fragment, e), i = !1;
216
+ p(n.$$.fragment, e), i = !1;
209
217
  },
210
218
  d(e) {
211
219
  E(n, e);
@@ -216,7 +224,7 @@ function ve(a) {
216
224
  let n, i, e = a[13], t = [];
217
225
  for (let r = 0; r < e.length; r += 1)
218
226
  t[r] = x(Y(a, e, r));
219
- const l = (r) => g(t[r], 1, 1, () => {
227
+ const l = (r) => p(t[r], 1, 1, () => {
220
228
  t[r] = null;
221
229
  });
222
230
  return {
@@ -238,9 +246,9 @@ function ve(a) {
238
246
  const m = Y(r, e, o);
239
247
  t[o] ? (t[o].p(m, u), y(t[o], 1)) : (t[o] = x(m), t[o].c(), y(t[o], 1), t[o].m(n.parentNode, n));
240
248
  }
241
- for (F(), o = e.length; o < t.length; o += 1)
249
+ for (V(), o = e.length; o < t.length; o += 1)
242
250
  l(o);
243
- V();
251
+ F();
244
252
  }
245
253
  },
246
254
  i(r) {
@@ -253,7 +261,7 @@ function ve(a) {
253
261
  o(r) {
254
262
  t = t.filter(Boolean);
255
263
  for (let u = 0; u < t.length; u += 1)
256
- g(t[u]);
264
+ p(t[u]);
257
265
  i = !1;
258
266
  },
259
267
  d(r) {
@@ -271,15 +279,15 @@ function we(a) {
271
279
  e && e.m(t, l), w(t, n, l), i = !0;
272
280
  },
273
281
  p(t, [l]) {
274
- t[5] ? e ? (e.p(t, l), l & 32 && y(e, 1)) : (e = Z(t), e.c(), y(e, 1), e.m(n.parentNode, n)) : e && (F(), g(e, 1, 1, () => {
282
+ t[5] ? e ? (e.p(t, l), l & 32 && y(e, 1)) : (e = Z(t), e.c(), y(e, 1), e.m(n.parentNode, n)) : e && (V(), p(e, 1, 1, () => {
275
283
  e = null;
276
- }), V());
284
+ }), F());
277
285
  },
278
286
  i(t) {
279
287
  i || (y(e), i = !0);
280
288
  },
281
289
  o(t) {
282
- g(e), i = !1;
290
+ p(e), i = !1;
283
291
  },
284
292
  d(t) {
285
293
  e && e.d(t), t && B(n);
@@ -288,29 +296,29 @@ function we(a) {
288
296
  }
289
297
  function Be(a, n, i) {
290
298
  let e, t, l;
291
- const r = z(ge);
292
- let { tag: u } = n, { mediaData: o } = n, { inDelay: m = 0 } = n, { outDelay: d = 0 } = n, { duration: h = 0 } = n, { unfolded: b = !0 } = n, { animation: q = !0 } = n, { playButtonIfNeed: M = "withoutText" } = n, { playButtonSizeIfNeed: O = "small" } = n, { canPlay: T = !0 } = n, { objectFit: A = "cover" } = n, { enableCarousel: L = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
299
+ const r = z(pe);
300
+ let { tag: u } = n, { mediaData: o } = n, { inDelay: m = 0 } = n, { outDelay: d = 0 } = n, { duration: g = 0 } = n, { unfolded: b = !0 } = n, { animation: q = !0 } = n, { playButtonIfNeed: M = "withoutText" } = n, { playButtonSizeIfNeed: O = "small" } = n, { canPlay: T = !0 } = n, { objectFit: A = "cover" } = n, { enableCarousel: L = !0 } = n, { autoplayConfig: k = { autoplay: !0, autoplayVideo: !1 } } = n;
293
301
  const S = R("mediaStore"), v = R("hooks");
294
- let p;
302
+ let h;
295
303
  function P(f) {
296
- !e || !p || (S.set({ currentMediaElement: this }), v.emit("playStateChange", {
304
+ !e || !h || (S.set({ currentMediaElement: this }), v.emit("playStateChange", {
297
305
  event: f,
298
306
  state: "playing",
299
307
  tag: u,
300
308
  mediaInstance: this
301
- }), p.autoplay.stop());
309
+ }), h.autoplay.stop());
302
310
  }
303
311
  function D(f) {
304
- !e || !p || (v.emit("playStateChange", {
312
+ !e || !h || (v.emit("playStateChange", {
305
313
  event: f,
306
314
  state: "paused",
307
315
  tag: u,
308
316
  mediaInstance: this
309
- }), p.autoplay.running || p.autoplay.start());
317
+ }), h.autoplay.running || h.autoplay.start());
310
318
  }
311
319
  let j = null;
312
320
  const te = (f) => {
313
- i(12, p = f.detail[0]);
321
+ i(12, h = f.detail[0]);
314
322
  }, ne = (f) => Q(this, null, function* () {
315
323
  var G, J, K;
316
324
  if (!l || !k.autoplayVideo)
@@ -325,7 +333,7 @@ function Be(a, n, i) {
325
333
  const H = t[I];
326
334
  if (!H || H.type !== "Video")
327
335
  return;
328
- _.autoplay.stop(), _.slides.map((c) => c.querySelector("video")).filter(pe).forEach((c) => c.pause());
336
+ _.autoplay.stop(), _.slides.map((c) => c.querySelector("video")).filter(he).forEach((c) => c.pause());
329
337
  const s = (G = _.slides[_.activeIndex]) == null ? void 0 : G.querySelector("video");
330
338
  if (s && (s.removeEventListener("play", P), s.removeEventListener("pause", D), s.addEventListener("play", P), s.addEventListener("pause", D)), s) {
331
339
  s.addEventListener("click", () => s.pause());
@@ -341,9 +349,9 @@ function Be(a, n, i) {
341
349
  }
342
350
  });
343
351
  return a.$$set = (f) => {
344
- "tag" in f && i(0, u = f.tag), "mediaData" in f && i(1, o = f.mediaData), "inDelay" in f && i(2, m = f.inDelay), "outDelay" in f && i(3, d = f.outDelay), "duration" in f && i(4, h = f.duration), "unfolded" in f && i(5, b = f.unfolded), "animation" in f && i(6, q = f.animation), "playButtonIfNeed" in f && i(7, M = f.playButtonIfNeed), "playButtonSizeIfNeed" in f && i(8, O = f.playButtonSizeIfNeed), "canPlay" in f && i(9, T = f.canPlay), "objectFit" in f && i(10, A = f.objectFit), "enableCarousel" in f && i(22, L = f.enableCarousel), "autoplayConfig" in f && i(11, k = f.autoplayConfig);
352
+ "tag" in f && i(0, u = f.tag), "mediaData" in f && i(1, o = f.mediaData), "inDelay" in f && i(2, m = f.inDelay), "outDelay" in f && i(3, d = f.outDelay), "duration" in f && i(4, g = f.duration), "unfolded" in f && i(5, b = f.unfolded), "animation" in f && i(6, q = f.animation), "playButtonIfNeed" in f && i(7, M = f.playButtonIfNeed), "playButtonSizeIfNeed" in f && i(8, O = f.playButtonSizeIfNeed), "canPlay" in f && i(9, T = f.canPlay), "objectFit" in f && i(10, A = f.objectFit), "enableCarousel" in f && i(22, L = f.enableCarousel), "autoplayConfig" in f && i(11, k = f.autoplayConfig);
345
353
  }, a.$$.update = () => {
346
- a.$$.dirty & 4194306 && i(15, e = L && (o == null ? void 0 : o.length) > 1), a.$$.dirty & 2 && i(13, t = o), a.$$.dirty & 10240 && i(16, l = t.length > 1 && k.autoplay), a.$$.dirty & 4096 && p && p.slides.forEach((f) => {
354
+ a.$$.dirty & 4194306 && i(15, e = L && (o == null ? void 0 : o.length) > 1), a.$$.dirty & 2 && i(13, t = o), a.$$.dirty & 10240 && i(16, l = t.length > 1 && k.autoplay), a.$$.dirty & 4096 && h && h.slides.forEach((f) => {
347
355
  const _ = f.querySelector("video");
348
356
  _ && S.subscribe(({ currentMediaElement: I }) => {
349
357
  I !== _ && _.pause();
@@ -354,7 +362,7 @@ function Be(a, n, i) {
354
362
  o,
355
363
  m,
356
364
  d,
357
- h,
365
+ g,
358
366
  b,
359
367
  q,
360
368
  M,
@@ -362,7 +370,7 @@ function Be(a, n, i) {
362
370
  T,
363
371
  A,
364
372
  k,
365
- p,
373
+ h,
366
374
  t,
367
375
  j,
368
376
  e,
@@ -377,7 +385,7 @@ function Be(a, n, i) {
377
385
  ne
378
386
  ];
379
387
  }
380
- class Te extends ae {
388
+ class Ue extends ae {
381
389
  constructor(n) {
382
390
  super(), le(
383
391
  this,
@@ -405,5 +413,5 @@ class Te extends ae {
405
413
  }
406
414
  }
407
415
  export {
408
- Te as Media
416
+ Ue as default
409
417
  };
@@ -164,5 +164,5 @@ class Z extends z {
164
164
  }
165
165
  }
166
166
  export {
167
- Z as MediaItem
167
+ Z as default
168
168
  };
@@ -1,5 +1,6 @@
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 s, group_outros as A, transition_out as R, check_outros as B, detach as I, element as E, attr as h, set_style as d, add_render_callback as F, create_in_transition as G, create_out_transition as H } from "../../../vendor/svelte/internal/index.js";
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 s, transition_out as R, check_outros as A, detach as I, element as B, attr as h, set_style as d, 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
2
  import { fade as g } from "../../../vendor/svelte/transition/index.js";
3
+ import "../../../vendor/svelte/easing/index.js";
3
4
  function J(t) {
4
5
  N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
5
6
  }
@@ -7,7 +8,7 @@ function k(t) {
7
8
  let i, e, l, f, u;
8
9
  return {
9
10
  c() {
10
- i = E("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
11
+ i = B("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
11
12
  left:${o(t[5])};
12
13
  bottom:${o(t[6])};
13
14
  box-shadow: 0 0 ${o(t[10])} ${o(t[11])} rgba(0, 0, 0, ${t[12]});
@@ -30,12 +31,12 @@ function k(t) {
30
31
  `)) && h(i, "style", e), r & 8 && d(i, "width", o(t[3])), r & 16 && d(i, "height", o(t[4])), r & 8192 && d(i, "z-index", t[13]);
31
32
  },
32
33
  i(a) {
33
- u || (a && F(() => {
34
- f && f.end(1), l = G(i, g, { duration: t[0] }), l.start();
34
+ u || (a && E(() => {
35
+ f && f.end(1), l = F(i, g, { duration: t[0] }), l.start();
35
36
  }), u = !0);
36
37
  },
37
38
  o(a) {
38
- l && l.invalidate(), a && (f = H(i, g, { duration: t[1] })), u = !1;
39
+ l && l.invalidate(), a && (f = G(i, g, { duration: t[1] })), u = !1;
39
40
  },
40
41
  d(a) {
41
42
  a && I(i), a && f && f.end();
@@ -52,9 +53,9 @@ function K(t) {
52
53
  e && e.m(l, f), v(l, i, f);
53
54
  },
54
55
  p(l, [f]) {
55
- l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (A(), R(e, 1, 1, () => {
56
+ l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (H(), R(e, 1, 1, () => {
56
57
  e = null;
57
- }), B());
58
+ }), A());
58
59
  },
59
60
  i(l) {
60
61
  s(e);
@@ -91,7 +92,7 @@ function L(t, i, e) {
91
92
  D
92
93
  ];
93
94
  }
94
- class P extends X {
95
+ class Q extends X {
95
96
  constructor(i) {
96
97
  super(), S(
97
98
  this,
@@ -120,5 +121,5 @@ class P extends X {
120
121
  }
121
122
  }
122
123
  export {
123
- P as Shadow
124
+ Q as default
124
125
  };
@@ -1,13 +1,16 @@
1
1
  import { SvelteComponent as M, init as U, safe_not_equal as B, append_styles as E, element as j, space as T, create_component as I, attr as w, set_style as g, toggle_class as y, insert as $, mount_component as R, append as _, listen as G, transition_in as q, transition_out as A, detach as P, destroy_component as F, getContext as H } from "../../../vendor/svelte/internal/index.js";
2
- import { Shadow as J } from "./Shadow.js";
3
- import { Icon as K } from "./Icon/Icon.js";
2
+ import J from "./Shadow.js";
3
+ import K from "./Icon/Icon.js";
4
4
  import { Image_Default_Point as L } from "../../Assets/Icon.js";
5
- import { px2rem as b } from "../../utils/px2rem.js";
5
+ import b from "../../utils/px2rem.js";
6
+ import "../../../vendor/svelte/transition/index.js";
7
+ import "../../../vendor/svelte/easing/index.js";
8
+ import "../../utils/getImageInfo.js";
6
9
  function N(n) {
7
10
  E(n, "svelte-gna22j", '@charset "UTF-8";.tag-point-click-helper.svelte-gna22j.svelte-gna22j{position:absolute;pointer-events:auto;cursor:pointer;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}.tag-point-wrapper.svelte-gna22j.svelte-gna22j{pointer-events:none;position:absolute;left:50%;top:50%;transform:translate(-50%, -50%);z-index:-1}.tag-folded-point.svelte-gna22j.svelte-gna22j,.tag-unfolded-point.svelte-gna22j.svelte-gna22j{transition:all 0.5s}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j{display:flex;justify-content:center;align-items:center;position:absolute;width:100%;height:100%;border-radius:50%}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j:after{content:"";position:absolute;width:0.3125rem;height:0.3125rem;border-radius:50%;background-color:white}.tag-point-wrapper.svelte-gna22j .tag-unfolded-point.svelte-gna22j:before{content:"";position:absolute;width:0.875rem;height:0.875rem;border-radius:50%;background-color:rgba(0, 0, 0, 0.2)}.tag-point-wrapper.folded.svelte-gna22j .tag-folded-point.svelte-gna22j{opacity:1}.tag-point-wrapper.folded.svelte-gna22j .tag-unfolded-point.svelte-gna22j{opacity:0}.tag-point-wrapper.unfolded.svelte-gna22j .tag-folded-point.svelte-gna22j{opacity:0;scale:0.2}.tag-point-wrapper.unfolded.svelte-gna22j .tag-unfolded-point.svelte-gna22j{opacity:1;scale:1}');
8
11
  }
9
12
  function O(n) {
10
- let l, r, t, d, u, p, c, i, a, s, m, v;
13
+ let s, l, t, d, u, p, c, i, a, r, m, v;
11
14
  return d = new J({
12
15
  props: {
13
16
  center: !0,
@@ -21,58 +24,58 @@ function O(n) {
21
24
  }
22
25
  }), {
23
26
  c() {
24
- l = j("div"), r = T(), t = j("div"), I(d.$$.fragment), u = T(), p = j("div"), c = T(), i = j("div"), I(a.$$.fragment), w(l, "class", "tag-point-click-helper svelte-gna22j"), w(p, "class", "tag-unfolded-point svelte-gna22j"), g(p, "transition-delay", (n[3] ? k : 0) + "ms"), w(i, "class", "tag-folded-point svelte-gna22j"), g(i, "transition-delay", (n[3] ? k : 0) + "ms"), w(t, "class", "tag-point-wrapper svelte-gna22j"), y(t, "unfolded", n[0]), y(t, "folded", n[3]), g(t, "width", b(n[1])), g(t, "height", b(n[1]));
27
+ s = j("div"), l = T(), t = j("div"), I(d.$$.fragment), u = T(), p = j("div"), c = T(), i = j("div"), I(a.$$.fragment), w(s, "class", "tag-point-click-helper svelte-gna22j"), w(p, "class", "tag-unfolded-point svelte-gna22j"), g(p, "transition-delay", (n[3] ? k : 0) + "ms"), w(i, "class", "tag-folded-point svelte-gna22j"), g(i, "transition-delay", (n[3] ? k : 0) + "ms"), w(t, "class", "tag-point-wrapper svelte-gna22j"), y(t, "unfolded", n[0]), y(t, "folded", n[3]), g(t, "width", b(n[1])), g(t, "height", b(n[1]));
25
28
  },
26
29
  m(e, o) {
27
- $(e, l, o), $(e, r, o), $(e, t, o), R(d, t, null), _(t, u), _(t, p), _(t, c), _(t, i), R(a, i, null), s = !0, m || (v = G(l, "click", n[4]), m = !0);
30
+ $(e, s, o), $(e, l, o), $(e, t, o), R(d, t, null), _(t, u), _(t, p), _(t, c), _(t, i), R(a, i, null), r = !0, m || (v = G(s, "click", n[4]), m = !0);
28
31
  },
29
32
  p(e, [o]) {
30
33
  o & 8 && g(p, "transition-delay", (e[3] ? k : 0) + "ms");
31
34
  const f = {};
32
- o & 4 && (f.icon = e[2]), o & 2 && (f.width = e[1]), a.$set(f), o & 8 && g(i, "transition-delay", (e[3] ? k : 0) + "ms"), (!s || o & 1) && y(t, "unfolded", e[0]), (!s || o & 8) && y(t, "folded", e[3]), o & 2 && g(t, "width", b(e[1])), o & 2 && g(t, "height", b(e[1]));
35
+ o & 4 && (f.icon = e[2]), o & 2 && (f.width = e[1]), a.$set(f), o & 8 && g(i, "transition-delay", (e[3] ? k : 0) + "ms"), (!r || o & 1) && y(t, "unfolded", e[0]), (!r || o & 8) && y(t, "folded", e[3]), o & 2 && g(t, "width", b(e[1])), o & 2 && g(t, "height", b(e[1]));
33
36
  },
34
37
  i(e) {
35
- s || (q(d.$$.fragment, e), q(a.$$.fragment, e), s = !0);
38
+ r || (q(d.$$.fragment, e), q(a.$$.fragment, e), r = !0);
36
39
  },
37
40
  o(e) {
38
- A(d.$$.fragment, e), A(a.$$.fragment, e), s = !1;
41
+ A(d.$$.fragment, e), A(a.$$.fragment, e), r = !1;
39
42
  },
40
43
  d(e) {
41
- e && P(l), e && P(r), e && P(t), F(d), F(a), m = !1, v();
44
+ e && P(s), e && P(l), e && P(t), F(d), F(a), m = !1, v();
42
45
  }
43
46
  };
44
47
  }
45
48
  const k = 800;
46
- function Q(n, l, r) {
49
+ function Q(n, s, l) {
47
50
  let t, d, u, p;
48
51
  const c = H("hooks");
49
- let { tag: i } = l, a, s = !1;
52
+ let { tag: i } = s, a, r = !1;
50
53
  const m = () => {
51
- a !== void 0 && clearTimeout(a), s = !0, a = setTimeout(
54
+ a !== void 0 && clearTimeout(a), r = !0, a = setTimeout(
52
55
  () => {
53
- s = !1;
56
+ r = !1;
54
57
  },
55
58
  800
56
59
  );
57
60
  }, v = (e) => {
58
- s || c.emit("click", { event: e, target: "TagPoint", tag: i });
61
+ r || c.emit("click", { event: e, target: "TagPoint", tag: i });
59
62
  };
60
63
  return n.$$set = (e) => {
61
- "tag" in e && r(5, i = e.tag);
64
+ "tag" in e && l(5, i = e.tag);
62
65
  }, n.$$.update = () => {
63
66
  var e, o, f, S;
64
- n.$$.dirty & 32 && r(0, t = (e = i.state) == null ? void 0 : e.unfolded), n.$$.dirty & 1 && r(3, d = !t), n.$$.dirty & 32 && r(2, u = (f = (o = i.style) == null ? void 0 : o.point) != null && f.url ? (S = i.style) == null ? void 0 : S.point : { url: L }), n.$$.dirty & 32 && r(1, p = (() => {
67
+ n.$$.dirty & 32 && l(0, t = (e = i.state) == null ? void 0 : e.unfolded), n.$$.dirty & 1 && l(3, d = !t), n.$$.dirty & 32 && l(2, u = (f = (o = i.style) == null ? void 0 : o.point) != null && f.url ? (S = i.style) == null ? void 0 : S.point : { url: L }), n.$$.dirty & 32 && l(1, p = (() => {
65
68
  var z, C, D;
66
69
  const h = (D = (C = (z = i.style) == null ? void 0 : z.point) == null ? void 0 : C.size) != null ? D : "S";
67
70
  return typeof h == "number" ? h : h === "S" ? 20 : h === "M" ? 24 : 20;
68
71
  })());
69
72
  }, m(), [t, p, u, d, v, i];
70
73
  }
71
- class x extends M {
72
- constructor(l) {
73
- super(), U(this, l, Q, O, B, { tag: 5 }, N);
74
+ class ne extends M {
75
+ constructor(s) {
76
+ super(), U(this, s, Q, O, B, { tag: 5 }, N);
74
77
  }
75
78
  }
76
79
  export {
77
- x as TagPoint
80
+ ne as default
78
81
  };