@realsee/dnalogel 2.3.9-alpha.8 → 2.4.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 (482) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
  3. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
  4. package/dist/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
  5. package/dist/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
  6. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
  7. package/dist/PanoMeasurePlugin/Controller/index.d.ts +27 -9
  8. package/dist/PanoMeasurePlugin/Model/index.d.ts +17 -17
  9. package/dist/PanoMeasurePlugin/Model/line.d.ts +6 -4
  10. package/dist/PanoMeasurePlugin/Model/point.d.ts +2 -4
  11. package/dist/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
  12. package/dist/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
  13. package/dist/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
  14. package/dist/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
  15. package/dist/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
  16. package/dist/PanoMeasurePlugin/index.d.ts +6 -2
  17. package/dist/PanoMeasurePlugin/typings/data.d.ts +6 -16
  18. package/dist/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
  19. package/dist/PanoMeasurePlugin/typings/index.d.ts +4 -2
  20. package/dist/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
  21. package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  22. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  23. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +22 -19
  24. package/dist/PanoTagPlugin/controller/index.d.ts +14 -25
  25. package/dist/PanoTagPlugin/index.d.ts +1 -1
  26. package/dist/PanoTagPlugin/typings/controller.d.ts +17 -23
  27. package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
  28. package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
  29. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -1
  30. package/dist/index.cjs.js +114 -112
  31. package/dist/index.js +7169 -8282
  32. package/dist/index.umd.js +106 -104
  33. package/docs/assets/search.js +1 -1
  34. package/docs/classes/CSS3DRender.html +31 -31
  35. package/docs/classes/CruisePluginController.html +24 -24
  36. package/docs/classes/Magnifier.html +90 -40
  37. package/docs/classes/ModelRoomLabelController.html +11 -11
  38. package/docs/classes/Object3DHelperController.html +24 -24
  39. package/docs/classes/PaintBrush.html +15 -15
  40. package/docs/classes/PanoMeasurePluginLine.html +318 -0
  41. package/docs/classes/PanoMeasurePluginModel.html +275 -0
  42. package/docs/classes/PanoMeasurePluginPoint.html +160 -0
  43. package/docs/classes/PanoMeasurePluginPolyline.html +306 -0
  44. package/docs/classes/PanoTagPluginController.html +176 -223
  45. package/docs/classes/Util.BetterTween.html +8 -8
  46. package/docs/classes/Util.FivePointSelector.html +12 -12
  47. package/docs/classes/Util.Interval.html +12 -12
  48. package/docs/classes/Util.Magnifier.html +17 -17
  49. package/docs/classes/Util.PointDomHelper.html +11 -11
  50. package/docs/classes/Util.PointHelper.html +11 -11
  51. package/docs/classes/Util.Rectangle.html +13 -13
  52. package/docs/enums/CameraMovementEffect.html +7 -7
  53. package/docs/enums/ContentType.html +35 -75
  54. package/docs/enums/DIRECTION.html +9 -9
  55. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  56. package/docs/enums/DimensionType.html +15 -19
  57. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  58. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  59. package/docs/enums/LinkType.html +67 -0
  60. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  61. package/docs/enums/PointType.html +15 -19
  62. package/docs/enums/Rotation.html +8 -8
  63. package/docs/functions/CSS3DRenderPlugin.html +21 -42
  64. package/docs/functions/CameraMovementPlugin.html +21 -42
  65. package/docs/functions/CruisePlugin.html +21 -42
  66. package/docs/functions/GuideLinePlugin.html +22 -43
  67. package/docs/functions/ItemLabelPlugin.html +21 -42
  68. package/docs/functions/MapviewFloorplanPlugin.html +21 -42
  69. package/docs/functions/ModelChassisCompassPlugin.html +21 -42
  70. package/docs/functions/ModelEntryDoorGuidePlugin.html +21 -42
  71. package/docs/functions/ModelFloorplanPlugin.html +21 -42
  72. package/docs/functions/ModelItemLabelPlugin.html +21 -42
  73. package/docs/functions/ModelRoomLabelPlugin.html +21 -42
  74. package/docs/functions/ModelTVVideoPlugin.html +21 -42
  75. package/docs/functions/ModelViewPlugin.html +21 -42
  76. package/docs/functions/Object3DHelperPlugin.html +21 -42
  77. package/docs/functions/PanoCompassPlugin.html +21 -42
  78. package/docs/functions/PanoCursorRaycasterPlugin.html +21 -42
  79. package/docs/functions/PanoDoorLabelPlugin.html +21 -42
  80. package/docs/functions/PanoFloorplanRadarPlugin.html +21 -42
  81. package/docs/functions/PanoMeasurePlugin.html +21 -42
  82. package/docs/functions/PanoRulerPlugin.html +21 -42
  83. package/docs/functions/PanoRulerProPlugin.html +21 -42
  84. package/docs/functions/PanoSpatialTagPlugin.html +21 -42
  85. package/docs/functions/PanoTagPlugin.html +31 -48
  86. package/docs/functions/TopviewFloorplanPlugin.html +21 -42
  87. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  88. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  89. package/docs/functions/Util.getFrameTime.html +5 -5
  90. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  91. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  92. package/docs/functions/Util.isNil.html +5 -5
  93. package/docs/functions/Util.nextFrame.html +5 -5
  94. package/docs/functions/Util.notNil.html +5 -5
  95. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  96. package/docs/functions/Util.tweenProgress.html +5 -5
  97. package/docs/functions/pluginFlag.html +22 -43
  98. package/docs/index.html +21 -42
  99. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  100. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  101. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  102. package/docs/interfaces/ContentTypeMap.html +212 -0
  103. package/docs/interfaces/FloorplanBounding.html +8 -8
  104. package/docs/interfaces/FloorplanData.html +10 -10
  105. package/docs/interfaces/FloorplanEntrance.html +11 -11
  106. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  107. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  108. package/docs/interfaces/FloorplanFloorData.html +9 -9
  109. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  110. package/docs/interfaces/FloorplanObserver.html +9 -9
  111. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  112. package/docs/interfaces/FloorplanPosition.html +7 -7
  113. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  114. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  115. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  116. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  117. package/docs/interfaces/FloorplanServerData.html +7 -7
  118. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  119. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  120. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  121. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  122. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  123. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  124. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  125. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  126. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  127. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  128. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  129. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  130. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  131. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  132. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  133. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  134. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  135. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  136. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  137. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  138. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  139. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  140. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  141. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  142. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  143. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  144. package/docs/interfaces/Object3DHelperState.html +8 -8
  145. package/docs/interfaces/PaintBrushAction.html +12 -12
  146. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  147. package/docs/interfaces/PaintBrushState.html +10 -10
  148. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  149. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +22 -43
  150. package/docs/interfaces/PanoMeasureParameterType.html +24 -14
  151. package/docs/interfaces/{PointJson.html → PanoMeasurePluginLineJson.html} +24 -24
  152. package/docs/interfaces/{OpenParameter.html → PanoMeasurePluginOpenParameter.html} +15 -15
  153. package/docs/interfaces/{LineJson.html → PanoMeasurePluginPointJson.html} +18 -18
  154. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +80 -0
  155. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  156. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  157. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  158. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  159. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  160. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  161. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  162. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +22 -43
  163. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +22 -43
  164. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  165. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  166. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  167. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  168. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  169. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  170. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  171. package/docs/interfaces/Point.html +8 -8
  172. package/docs/interfaces/Room.html +9 -9
  173. package/docs/interfaces/RoomInfo.html +7 -7
  174. package/docs/interfaces/RoomLabel.html +14 -14
  175. package/docs/interfaces/RoomRules.html +22 -43
  176. package/docs/interfaces/Rooms.html +22 -43
  177. package/docs/interfaces/Scissor.html +9 -9
  178. package/docs/interfaces/TagConfig.html +19 -15
  179. package/docs/interfaces/Tags.html +12 -14
  180. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  181. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  182. package/docs/modules/Util.html +5 -5
  183. package/docs/modules.html +37 -79
  184. package/docs/types/ArrayPosition.html +23 -44
  185. package/docs/types/CSS3DRenderExportType.html +22 -43
  186. package/docs/types/CSS3DRenderPluginExportType.html +22 -43
  187. package/docs/types/CSS3DRenderPluginParameterType.html +22 -43
  188. package/docs/types/Color.html +22 -43
  189. package/docs/types/ContentTypeConfigKey.html +23 -44
  190. package/docs/types/{PanoIndex.html → ContentTypeConfigKeyArray.html} +25 -46
  191. package/docs/types/Create3DDomContainerReturnType.html +22 -43
  192. package/docs/types/Create3DElementReturnType.html +22 -43
  193. package/docs/types/CruisePluginExportType.html +22 -43
  194. package/docs/types/Direction-1.html +22 -43
  195. package/docs/types/Direction4.html +22 -43
  196. package/docs/types/FloorplanRuleLabels.html +22 -43
  197. package/docs/types/FloorplanServerRuleLabels.html +22 -43
  198. package/docs/types/GuideLinePluginExportType.html +22 -43
  199. package/docs/types/HelperEventMap.html +22 -43
  200. package/docs/types/MapviewFloorplanPluginParameterType.html +22 -43
  201. package/docs/types/MapviewFloorplanPluginReturnType.html +22 -43
  202. package/docs/types/MediaData.html +22 -43
  203. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +22 -43
  204. package/docs/types/ModelFloorplanPluginParameterType.html +22 -43
  205. package/docs/types/ModelFloorplanPluginReturnType.html +22 -43
  206. package/docs/types/ModelRoomLabelPluginParameters.html +22 -43
  207. package/docs/types/ModelRoomLabelPluginReturnType.html +22 -43
  208. package/docs/types/MoveArgs.html +22 -43
  209. package/docs/types/MoveOpts.html +22 -43
  210. package/docs/types/Object3DHelperEventMap.html +22 -43
  211. package/docs/types/ObjectFit.html +22 -43
  212. package/docs/types/PaintBrushEventMap.html +22 -43
  213. package/docs/types/PanoCompassPluginData.html +22 -43
  214. package/docs/types/PanoCompassPluginExportType.html +22 -43
  215. package/docs/types/PanoCompassPluginParameterType.html +22 -43
  216. package/docs/types/PanoFloorplanRadarPluginParameterType.html +22 -43
  217. package/docs/types/PanoFloorplanRadarPluginReturnType.html +22 -43
  218. package/docs/types/PanoMeasurePluginEvent.html +22 -43
  219. package/docs/types/PanoMeasureReturnType.html +22 -43
  220. package/docs/types/PanoSpatialTagPluginId.html +22 -43
  221. package/docs/types/PanoTagPluginExportInterface.html +22 -43
  222. package/docs/types/PanoTagPluginParamsInterface.html +22 -43
  223. package/docs/types/PlaneTag.html +27 -46
  224. package/docs/types/PointTag.html +31 -46
  225. package/docs/types/Position.html +22 -43
  226. package/docs/types/RotateArgs.html +22 -43
  227. package/docs/types/RotateOpts.html +22 -43
  228. package/docs/types/RuleLabelsKey.html +22 -43
  229. package/docs/types/RuleLabelsValue.html +22 -43
  230. package/docs/types/Tag.html +30 -47
  231. package/docs/types/Tag2D.html +28 -48
  232. package/docs/types/Tag3D.html +28 -48
  233. package/docs/types/TagId.html +22 -43
  234. package/docs/types/TopviewFloorplanPluginParameterType.html +22 -43
  235. package/docs/types/TopviewFloorplanPluginReturnType.html +22 -43
  236. package/docs/variables/FLOOR_TYPE_MAP.html +22 -43
  237. package/docs/variables/PLUGIN.html +22 -43
  238. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +22 -43
  239. package/docs/variables/ROOM_TYPE_MAP.html +22 -43
  240. package/docs/variables/VERSION.html +22 -43
  241. package/docs/variables/itemLabelPluginServerParams.html +22 -43
  242. package/docs/variables/modelItemLabelPluginServerParams.html +22 -43
  243. package/docs/variables/modelRoomLabelPluginServerParams.html +22 -43
  244. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  245. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  246. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  247. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  248. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  249. package/libs/CSS3DRenderPlugin/utils/index.js +0 -12
  250. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  251. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
  252. package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
  253. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
  254. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
  255. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
  256. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  257. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  258. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  259. package/libs/CruisePlugin/Controller.js +2 -2
  260. package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
  261. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  262. package/libs/GuideLinePlugin/Controller.js +1 -1
  263. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  264. package/libs/Object3DHelperPlugin/Controller.js +36 -38
  265. package/libs/PanoCompassPlugin/Controller.js +3 -8
  266. package/libs/PanoMeasurePlugin/Controller/BaseController.d.ts +5 -5
  267. package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -28
  268. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +5 -6
  269. package/libs/PanoMeasurePlugin/Controller/EditController.js +57 -70
  270. package/libs/PanoMeasurePlugin/Controller/MixedController.d.ts +7 -9
  271. package/libs/PanoMeasurePlugin/Controller/MixedController.js +43 -54
  272. package/libs/PanoMeasurePlugin/Controller/ViewController.d.ts +6 -10
  273. package/libs/PanoMeasurePlugin/Controller/ViewController.js +43 -84
  274. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +3 -3
  275. package/libs/PanoMeasurePlugin/Controller/WatchController.js +51 -68
  276. package/libs/PanoMeasurePlugin/Controller/index.d.ts +27 -9
  277. package/libs/PanoMeasurePlugin/Controller/index.js +118 -130
  278. package/libs/PanoMeasurePlugin/Model/index.d.ts +17 -17
  279. package/libs/PanoMeasurePlugin/Model/index.js +47 -77
  280. package/libs/PanoMeasurePlugin/Model/line.d.ts +6 -4
  281. package/libs/PanoMeasurePlugin/Model/line.js +29 -29
  282. package/libs/PanoMeasurePlugin/Model/point.d.ts +2 -4
  283. package/libs/PanoMeasurePlugin/Model/point.js +7 -7
  284. package/libs/PanoMeasurePlugin/Model/polyline.d.ts +37 -12
  285. package/libs/PanoMeasurePlugin/Model/polyline.js +90 -37
  286. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  287. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  288. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  289. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +5 -5
  290. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  291. package/libs/PanoMeasurePlugin/Modules/GuideController.d.ts +2 -0
  292. package/libs/PanoMeasurePlugin/Modules/GuideController.js +16 -11
  293. package/libs/PanoMeasurePlugin/Modules/Magnifier.d.ts +29 -16
  294. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +114 -63
  295. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +3 -3
  296. package/libs/PanoMeasurePlugin/Modules/UIController/MainBtnController.js +5 -4
  297. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.d.ts +3 -4
  298. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +21 -21
  299. package/libs/PanoMeasurePlugin/Modules/UIController/index.d.ts +1 -2
  300. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +24 -24
  301. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +2 -2
  302. package/libs/PanoMeasurePlugin/Modules/UIController/mobileMainBtnController.js +5 -4
  303. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +18 -26
  304. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  305. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
  306. package/libs/PanoMeasurePlugin/index.d.ts +6 -2
  307. package/libs/PanoMeasurePlugin/index.js +33 -29
  308. package/libs/PanoMeasurePlugin/typings/data.d.ts +6 -16
  309. package/libs/PanoMeasurePlugin/typings/event.type.d.ts +18 -14
  310. package/libs/PanoMeasurePlugin/typings/index.d.ts +4 -2
  311. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  312. package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
  313. package/libs/PanoMeasurePlugin/utils/distanceDom.d.ts +5 -3
  314. package/libs/PanoMeasurePlugin/utils/distanceDom.js +65 -41
  315. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
  316. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  317. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  318. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  319. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  320. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  321. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  322. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  323. package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  324. package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
  325. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  326. package/libs/PanoTagPlugin/Components/Common/Audio.js +140 -103
  327. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  328. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
  329. package/libs/PanoTagPlugin/Components/Common/Media.js +249 -275
  330. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +79 -143
  331. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
  332. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
  333. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
  334. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
  335. package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -11
  336. package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
  337. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
  338. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  339. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +131 -126
  340. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +97 -75
  341. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +143 -166
  342. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +45 -75
  343. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
  344. package/libs/PanoTagPlugin/Components/Tag/index.js +157 -264
  345. package/libs/PanoTagPlugin/Components/TagContainer.js +109 -164
  346. package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
  347. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  348. package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
  349. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +22 -19
  350. package/libs/PanoTagPlugin/controller/TagComputer.js +151 -186
  351. package/libs/PanoTagPlugin/controller/index.d.ts +14 -25
  352. package/libs/PanoTagPlugin/controller/index.js +170 -265
  353. package/libs/PanoTagPlugin/index.d.ts +1 -1
  354. package/libs/PanoTagPlugin/index.js +35 -51
  355. package/libs/PanoTagPlugin/tag.config.js +16 -31
  356. package/libs/PanoTagPlugin/typings/controller.d.ts +17 -23
  357. package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
  358. package/libs/PanoTagPlugin/typings/index.js +1 -7
  359. package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
  360. package/libs/PanoTagPlugin/typings/tag.js +7 -0
  361. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +0 -1
  362. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +1 -7
  363. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  364. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  365. package/libs/PanoTagPlugin/utils/index.js +0 -36
  366. package/libs/PanoTagPlugin/utils/search.js +9 -27
  367. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  368. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  369. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
  370. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  371. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  372. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  373. package/libs/index.js +120 -128
  374. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +39 -29
  375. package/libs/vendor/svelte/internal/index.js +338 -382
  376. package/package.json +3 -3
  377. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  378. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  379. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  380. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -53
  381. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -16
  382. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  383. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  384. package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  385. package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  386. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  387. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  388. package/dist/shared-utils/audio.d.ts +0 -31
  389. package/docs/interfaces/AddTagConfig.html +0 -64
  390. package/docs/interfaces/EventMap.html +0 -298
  391. package/docs/interfaces/MinMax.html +0 -71
  392. package/docs/interfaces/State.html +0 -89
  393. package/docs/interfaces/TagCache.html +0 -92
  394. package/docs/interfaces/TagIconUrl.html +0 -91
  395. package/docs/interfaces/TemporaryState.html +0 -64
  396. package/docs/types/AudioAppearance.html +0 -251
  397. package/docs/types/AudioTagTypeConfigKey.html +0 -251
  398. package/docs/types/ContentTypeConfigKeySplit.html +0 -251
  399. package/docs/types/ContentTypeMap.html +0 -251
  400. package/docs/types/LoadTagConfig.html +0 -251
  401. package/docs/types/MediaStore.html +0 -251
  402. package/docs/types/PlaneTagElement.html +0 -256
  403. package/docs/types/Point2DElement.html +0 -256
  404. package/docs/types/Point2DTag.html +0 -258
  405. package/docs/types/Point3DElement.html +0 -256
  406. package/docs/types/Point3DTag.html +0 -258
  407. package/docs/types/PointTagElement.html +0 -256
  408. package/docs/types/StickType.html +0 -251
  409. package/docs/types/TagContentType.html +0 -251
  410. package/docs/types/TagDimensionType.html +0 -251
  411. package/docs/types/TagElement.html +0 -258
  412. package/docs/types/TagEvents.html +0 -286
  413. package/docs/types/TagHooks.html +0 -251
  414. package/docs/types/TagIconSize.html +0 -254
  415. package/docs/types/TagPointType.html +0 -254
  416. package/docs/types/WorkCode.html +0 -251
  417. package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
  418. package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
  419. package/libs/PanoMeasurePlugin/typings/data.js +0 -1
  420. package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
  421. package/libs/PanoMeasurePlugin/typings/index.js +0 -1
  422. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
  423. package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
  424. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
  425. package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
  426. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -198
  427. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -108
  428. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
  429. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
  430. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -195
  431. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
  432. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
  433. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -172
  434. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -223
  435. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -123
  436. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
  437. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
  438. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
  439. package/libs/PanoTagPlugin/Components/TagItem.js +0 -253
  440. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  441. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  442. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  443. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  444. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  445. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  446. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  447. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  448. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  449. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  450. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  451. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  452. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  453. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  454. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  455. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  456. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  457. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  458. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  459. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  460. package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
  461. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  462. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
  463. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  464. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  465. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -53
  466. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
  467. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +0 -16
  468. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +0 -107
  469. package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
  470. package/libs/PanoTagPlugin/utils/color.js +0 -17
  471. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  472. package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
  473. package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  474. package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
  475. package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  476. package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
  477. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  478. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
  479. package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  480. package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
  481. package/libs/shared-utils/audio.d.ts +0 -31
  482. package/libs/shared-utils/audio.js +0 -81
@@ -1,128 +1,165 @@
1
- var S = Object.defineProperty;
2
- var _ = Object.getOwnPropertySymbols;
3
- var C = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
4
- var g = (o, n, t) => n in o ? S(o, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[n] = t, m = (o, n) => {
5
- for (var t in n || (n = {}))
6
- C.call(n, t) && g(o, t, n[t]);
7
- if (_)
8
- for (var t of _(n))
9
- A.call(n, t) && g(o, t, n[t]);
10
- return o;
1
+ var N = Object.defineProperty;
2
+ var E = Object.getOwnPropertySymbols;
3
+ var O = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
4
+ var F = (t, e, i) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : t[e] = i, p = (t, e) => {
5
+ for (var i in e || (e = {}))
6
+ O.call(e, i) && F(t, i, e[i]);
7
+ if (E)
8
+ for (var i of E(e))
9
+ P.call(e, i) && F(t, i, e[i]);
10
+ return t;
11
11
  };
12
- import { SvelteComponent as E, init as N, safe_not_equal as T, append_styles as v, create_slot as w, element as D, attr as y, insert as P, listen as R, stop_propagation as q, update_slot_base as L, get_all_dirty_from_scope as M, get_slot_changes as j, transition_in as z, transition_out as B, detach as F, createEventDispatcher as G, getContext as b } from "../../../vendor/svelte/internal/index.js";
13
- import { getAudioDuration as H } from "../../../shared-utils/audio.js";
14
- import { SharedAudio as J } from "../../utils/audio/SharedAudio.js";
15
- function K(o) {
16
- v(o, "svelte-13e7hxv", ".audio.svelte-13e7hxv{pointer-events:auto;cursor:pointer;width:100%;height:100%}");
12
+ import { SvelteComponent as T, init as U, safe_not_equal as j, append_styles as G, empty as H, insert as q, transition_in as v, group_outros as J, transition_out as z, check_outros as K, detach as R, getContext as A, element as b, create_component as Q, space as I, attr as h, src_url_equal as D, toggle_class as M, mount_component as V, append as k, listen as C, stop_propagation as W, add_render_callback as X, create_in_transition as Y, create_out_transition as Z, destroy_component as x, run_all as $, binding_callbacks as ee } from "../../../vendor/svelte/internal/index.js";
13
+ import { fade as S } from "../../../vendor/svelte/transition/index.js";
14
+ import { cubicInOut as B } from "../../../vendor/svelte/easing/index.js";
15
+ import { Shadow as te } from "./Shadow.js";
16
+ function ie(t) {
17
+ G(t, "svelte-1ku3wt4", `.audio.svelte-1ku3wt4.svelte-1ku3wt4{position:relative;width:100%;height:100%;cursor:pointer}@keyframes svelte-1ku3wt4-playing{25%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='9' cy='9' r='8' transform='translate(-1 -1)' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}50%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zM5.533 6.685L4.169 8.049l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}75%{background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm-.656 4.874l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .875-.333 1.67-.88 2.268l.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}}.paused.svelte-1ku3wt4 .audio-icon.svelte-1ku3wt4{animation:none}.audio-icon.svelte-1ku3wt4.svelte-1ku3wt4{width:100%;height:100%;border-radius:50%;background-size:100%;animation:svelte-1ku3wt4-playing 2s steps(1) infinite;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0a8 8 0 1 1 0 16A8 8 0 0 1 8 0zm1.428 2.79l-.953.952a6.222 6.222 0 0 1 1.775 4.36c0 1.571-.58 3.006-1.538 4.103l-.184.202.793.794a7.344 7.344 0 0 0 2.21-5.26A7.341 7.341 0 0 0 9.428 2.79zM7.344 4.873l-.906.905A3.35 3.35 0 0 1 7.369 8.1c0 .802-.28 1.537-.748 2.115l-.132.153.906.906A4.628 4.628 0 0 0 8.65 8.101a4.627 4.627 0 0 0-1.306-3.227zm-1.811 1.81L4.169 8.05l1.414 1.413a2.078 2.078 0 0 0-.05-2.777z' fill='%23FFF' fill-rule='nonzero'/%3E%3C/svg%3E")}`);
17
18
  }
18
- function O(o) {
19
- let n, t, f, d;
20
- const r = o[8].default, s = w(r, o, o[7], null);
19
+ function L(t) {
20
+ let e, i, a, o, r, u, f, d = !0, c, g, n, m, w;
21
+ return i = new te({
22
+ props: {
23
+ center: !0,
24
+ blurRadius: 15,
25
+ spreadRadius: 6
26
+ }
27
+ }), {
28
+ c() {
29
+ e = b("div"), Q(i.$$.fragment), a = I(), o = b("div"), r = I(), u = b("audio"), h(o, "class", "audio-icon svelte-1ku3wt4"), u.controls = !1, h(u, "playsinline", ""), D(u.src, f = t[3]) || h(u, "src", f), h(e, "class", "audio svelte-1ku3wt4"), M(e, "paused", t[6]);
30
+ },
31
+ m(s, _) {
32
+ q(s, e, _), V(i, e, null), k(e, a), k(e, o), k(e, r), k(e, u), t[9](u), n = !0, m || (w = [
33
+ C(u, "play", t[10]),
34
+ C(u, "pause", t[10]),
35
+ C(e, "click", W(t[7]))
36
+ ], m = !0);
37
+ },
38
+ p(s, _) {
39
+ t = s, (!n || _ & 8 && !D(u.src, f = t[3])) && h(u, "src", f), _ & 64 && d !== (d = t[6]) && u[d ? "pause" : "play"](), (!n || _ & 64) && M(e, "paused", t[6]);
40
+ },
41
+ i(s) {
42
+ n || (v(i.$$.fragment, s), s && X(() => {
43
+ g && g.end(1), c = Y(e, S, {
44
+ duration: t[2],
45
+ delay: t[0],
46
+ easing: B
47
+ }), c.start();
48
+ }), n = !0);
49
+ },
50
+ o(s) {
51
+ z(i.$$.fragment, s), c && c.invalidate(), s && (g = Z(e, S, {
52
+ duration: t[2],
53
+ delay: t[1],
54
+ easing: B
55
+ })), n = !1;
56
+ },
57
+ d(s) {
58
+ s && R(e), x(i), t[9](null), s && g && g.end(), m = !1, $(w);
59
+ }
60
+ };
61
+ }
62
+ function ne(t) {
63
+ let e, i, a = t[4] && L(t);
21
64
  return {
22
65
  c() {
23
- n = D("div"), s && s.c(), y(n, "class", "audio svelte-13e7hxv"), y(n, "style", o[0]);
66
+ a && a.c(), e = H();
24
67
  },
25
- m(a, u) {
26
- P(a, n, u), s && s.m(n, null), t = !0, f || (d = R(n, "click", q(o[1])), f = !0);
68
+ m(o, r) {
69
+ a && a.m(o, r), q(o, e, r), i = !0;
27
70
  },
28
- p(a, [u]) {
29
- s && s.p && (!t || u & 128) && L(
30
- s,
31
- r,
32
- a,
33
- a[7],
34
- t ? j(r, a[7], u, null) : M(a[7]),
35
- null
36
- ), (!t || u & 1) && y(n, "style", a[0]);
71
+ p(o, [r]) {
72
+ o[4] ? a ? (a.p(o, r), r & 16 && v(a, 1)) : (a = L(o), a.c(), v(a, 1), a.m(e.parentNode, e)) : a && (J(), z(a, 1, 1, () => {
73
+ a = null;
74
+ }), K());
37
75
  },
38
- i(a) {
39
- t || (z(s, a), t = !0);
76
+ i(o) {
77
+ i || (v(a), i = !0);
40
78
  },
41
- o(a) {
42
- B(s, a), t = !1;
79
+ o(o) {
80
+ z(a), i = !1;
43
81
  },
44
- d(a) {
45
- a && F(n), s && s.d(a), f = !1, d();
82
+ d(o) {
83
+ a && a.d(o), o && R(e);
46
84
  }
47
85
  };
48
86
  }
49
- function Q(o, n, t) {
50
- let { $$slots: f = {}, $$scope: d } = n, { url: r } = n, { enable: s = !0 } = n, { style: a = "" } = n, { hooksInfo: u } = n;
51
- const l = G(), p = b("hooks"), h = b("mediaStore");
52
- let e, c = !0;
53
- function k() {
54
- t(
55
- 5,
56
- e.onplay = (i) => {
57
- p.emit("playStateChange", m({
58
- event: i,
59
- state: "playing",
60
- mediaInstance: e
61
- }, u)), l("play"), t(6, c = !1);
62
- },
63
- e
64
- ), t(
65
- 5,
66
- e.onpause = (i) => {
67
- p.emit("playStateChange", m({
68
- event: i,
69
- state: "paused",
70
- mediaInstance: e
71
- }, u)), l("pause"), t(6, c = !0);
72
- },
73
- e
74
- ), t(
87
+ function ae(t, e, i) {
88
+ let { inDelay: a = 0 } = e, { outDelay: o = 0 } = e, { duration: r = 0 } = e, { url: u } = e, { unfolded: f } = e, { hooksInfo: d = {} } = e;
89
+ const c = A("hooks"), g = A("mediaStore");
90
+ let n, m = !0;
91
+ g.subscribe(({ currentMediaUrl: l }) => {
92
+ l !== u && (n == null || n.pause());
93
+ });
94
+ function w(l) {
95
+ g.set({ currentMediaUrl: u }), n && (c.emit("click", p({
96
+ event: l,
97
+ target: "AudioTagPlayIcon",
98
+ audioInstance: n
99
+ }, d)), n.paused ? n.play() : n.pause(), i(
75
100
  5,
76
- e.onloadedmetadata = (i) => {
77
- typeof e.duration == "number" && !Number.isNaN(e.duration) && l("duration", e.duration);
78
- },
79
- e
80
- ), t(
101
+ n.onplay = (y) => c.emit("playStateChange", p({
102
+ event: y,
103
+ state: "playing",
104
+ mediaInstance: n
105
+ }, d)),
106
+ n
107
+ ), i(
81
108
  5,
82
- e.ontimeupdate = (i) => {
83
- l("timeupdate", e.currentTime);
84
- },
85
- e
86
- );
109
+ n.onpause = (y) => c.emit("playStateChange", p({
110
+ event: y,
111
+ state: "paused",
112
+ mediaInstance: n
113
+ }, d)),
114
+ n
115
+ ));
87
116
  }
88
- h.subscribe(({ currentMediaElement: i }) => {
89
- i !== e && (c || e == null || e.pause());
90
- });
91
- function I(i) {
92
- !e || (p.emit("click", m({
93
- event: i,
94
- target: "AudioTagPlayIcon",
95
- audioInstance: e
96
- }, u)), h.set({ currentMediaElement: e }), p.emit("playStateChange", m({
97
- event: i,
98
- state: e.paused ? "playing" : "paused",
99
- mediaInstance: e
100
- }, u)), e.paused ? e.play() : e.pause());
117
+ function s(l) {
118
+ ee[l ? "unshift" : "push"](() => {
119
+ n = l, i(5, n);
120
+ });
121
+ }
122
+ function _() {
123
+ m = this.paused, i(6, m);
101
124
  }
102
- return o.$$set = (i) => {
103
- "url" in i && t(2, r = i.url), "enable" in i && t(3, s = i.enable), "style" in i && t(0, a = i.style), "hooksInfo" in i && t(4, u = i.hooksInfo), "$$scope" in i && t(7, d = i.$$scope);
104
- }, o.$$.update = () => {
105
- o.$$.dirty & 4 && (r || l("duration", 0)), o.$$.dirty & 36 && (e == null || e.dispose(), t(5, e = new J(r)), l("audioRef", e), setTimeout(() => l("audioRef", e), 200), H(r).then((i) => l("duration", i)), k()), o.$$.dirty & 40 && (s || e == null || e.pause()), o.$$.dirty & 72 && l(s && !c ? "play" : "pause");
106
- }, [a, I, r, s, u, e, c, d, f];
125
+ return t.$$set = (l) => {
126
+ "inDelay" in l && i(0, a = l.inDelay), "outDelay" in l && i(1, o = l.outDelay), "duration" in l && i(2, r = l.duration), "url" in l && i(3, u = l.url), "unfolded" in l && i(4, f = l.unfolded), "hooksInfo" in l && i(8, d = l.hooksInfo);
127
+ }, t.$$.update = () => {
128
+ t.$$.dirty & 48 && (f || n == null || n.pause());
129
+ }, [
130
+ a,
131
+ o,
132
+ r,
133
+ u,
134
+ f,
135
+ n,
136
+ m,
137
+ w,
138
+ d,
139
+ s,
140
+ _
141
+ ];
107
142
  }
108
- class Y extends E {
109
- constructor(n) {
110
- super(), N(
143
+ class de extends T {
144
+ constructor(e) {
145
+ super(), U(
111
146
  this,
112
- n,
113
- Q,
114
- O,
115
- T,
147
+ e,
148
+ ae,
149
+ ne,
150
+ j,
116
151
  {
117
- url: 2,
118
- enable: 3,
119
- style: 0,
120
- hooksInfo: 4
152
+ inDelay: 0,
153
+ outDelay: 1,
154
+ duration: 2,
155
+ url: 3,
156
+ unfolded: 4,
157
+ hooksInfo: 8
121
158
  },
122
- K
159
+ ie
123
160
  );
124
161
  }
125
162
  }
126
163
  export {
127
- Y as default
164
+ de as Audio
128
165
  };
@@ -1,25 +1,25 @@
1
- import { SvelteComponent as p, init as b, safe_not_equal as v, append_styles as D, svg_element as u, attr as o, insert as h, append as d, transition_in as c, transition_out as _, check_outros as w, detach as g, add_render_callback as k, create_in_transition as O, create_out_transition as G, group_outros as I } from "../../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as D, init as g, safe_not_equal as v, append_styles as w, svg_element as s, attr as l, insert as y, append as d, transition_in as c, group_outros as b, transition_out as _, check_outros as k, detach as p, add_render_callback as O, create_in_transition as G, create_out_transition as I } from "../../../../vendor/svelte/internal/index.js";
2
2
  import { uuid as L } from "../../../../shared-utils/uuid.js";
3
- import { draw as m } from "../../../../vendor/svelte/transition/index.js";
3
+ import { draw as h } from "../../../../vendor/svelte/transition/index.js";
4
4
  import { cubicOut as S, cubicInOut as U } from "../../../../vendor/svelte/easing/index.js";
5
5
  function q(n) {
6
- D(n, "svelte-blgtit", ".line.svelte-blgtit{width:100%;height:100%;overflow:visible;pointer-events:none}");
6
+ w(n, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
7
7
  }
8
- function y(n) {
9
- let e, a, l, r;
8
+ function m(n) {
9
+ let e, a, o, r;
10
10
  return {
11
11
  c() {
12
- e = u("path"), o(e, "fill", "none"), o(e, "stroke", "url(#" + n[4] + ")"), o(e, "stroke-width", "1"), o(e, "d", "M0 21 L14 0.5 L105 0.5");
12
+ e = s("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + n[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 21 L14 0.5 L105 0.5");
13
13
  },
14
14
  m(i, t) {
15
- h(i, e, t), r = !0;
15
+ y(i, e, t), r = !0;
16
16
  },
17
17
  p(i, t) {
18
18
  n = i;
19
19
  },
20
20
  i(i) {
21
- r || (i && k(() => {
22
- l && l.end(1), a = O(e, m, {
21
+ r || (i && O(() => {
22
+ o && o.end(1), a = G(e, h, {
23
23
  duration: n[1],
24
24
  delay: n[0],
25
25
  easing: S
@@ -27,52 +27,52 @@ function y(n) {
27
27
  }), r = !0);
28
28
  },
29
29
  o(i) {
30
- a && a.invalidate(), i && (l = G(e, m, {
30
+ a && a.invalidate(), i && (o = I(e, h, {
31
31
  duration: n[1],
32
32
  delay: n[2],
33
33
  easing: U
34
34
  })), r = !1;
35
35
  },
36
36
  d(i) {
37
- i && g(e), i && l && l.end();
37
+ i && p(e), i && o && o.end();
38
38
  }
39
39
  };
40
40
  }
41
41
  function B(n) {
42
- let e, a, l, r, i, t = n[3] && y(n);
42
+ let e, a, o, r, i, t = n[3] && m(n);
43
43
  return {
44
44
  c() {
45
- e = u("svg"), a = u("defs"), l = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), o(r, "offset", "25%"), o(r, "stop-color", "white"), o(r, "stop-opacity", "1"), o(i, "offset", "100%"), o(i, "stop-color", "white"), o(i, "stop-opacity", "0.5"), o(l, "id", n[4]), o(l, "gradientUnits", "userSpaceOnUse"), o(e, "class", "line svelte-blgtit"), o(e, "viewBox", "0 0 105 21");
45
+ e = s("svg"), a = s("defs"), o = s("linearGradient"), r = s("stop"), i = s("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(o, "id", n[4]), l(o, "gradientUnits", "userSpaceOnUse"), l(e, "class", "line svelte-e72ouh"), l(e, "viewBox", "0 0 105 21");
46
46
  },
47
- m(s, f) {
48
- h(s, e, f), d(e, a), d(a, l), d(l, r), d(l, i), t && t.m(e, null);
47
+ m(f, u) {
48
+ y(f, e, u), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
49
49
  },
50
- p(s, [f]) {
51
- s[3] ? t ? (t.p(s, f), f & 8 && c(t, 1)) : (t = y(s), t.c(), c(t, 1), t.m(e, null)) : t && (I(), _(t, 1, 1, () => {
50
+ p(f, [u]) {
51
+ f[3] ? t ? (t.p(f, u), u & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (b(), _(t, 1, 1, () => {
52
52
  t = null;
53
- }), w());
53
+ }), k());
54
54
  },
55
- i(s) {
55
+ i(f) {
56
56
  c(t);
57
57
  },
58
- o(s) {
58
+ o(f) {
59
59
  _(t);
60
60
  },
61
- d(s) {
62
- s && g(e), t && t.d();
61
+ d(f) {
62
+ f && p(e), t && t.d();
63
63
  }
64
64
  };
65
65
  }
66
66
  function C(n, e, a) {
67
- let { inDelay: l = 0 } = e, { duration: r = 1e3 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
68
- const s = L();
69
- return n.$$set = (f) => {
70
- "inDelay" in f && a(0, l = f.inDelay), "duration" in f && a(1, r = f.duration), "outDelay" in f && a(2, i = f.outDelay), "unfolded" in f && a(3, t = f.unfolded);
71
- }, [l, r, i, t, s];
67
+ let { inDelay: o = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
68
+ const f = L();
69
+ return n.$$set = (u) => {
70
+ "inDelay" in u && a(0, o = u.inDelay), "duration" in u && a(1, r = u.duration), "outDelay" in u && a(2, i = u.outDelay), "unfolded" in u && a(3, t = u.unfolded);
71
+ }, [o, r, i, t, f];
72
72
  }
73
- class A extends p {
73
+ class A extends D {
74
74
  constructor(e) {
75
- super(), b(
75
+ super(), g(
76
76
  this,
77
77
  e,
78
78
  C,
@@ -89,5 +89,5 @@ class A extends p {
89
89
  }
90
90
  }
91
91
  export {
92
- A as default
92
+ A as Polyline
93
93
  };
@@ -1,126 +1,90 @@
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
- import { draw as z } from "../../../../vendor/svelte/transition/index.js";
3
- import { uuid as F } from "../../../../shared-utils/uuid.js";
4
- import "../../../../vendor/svelte/easing/index.js";
5
- function J(t) {
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}");
1
+ import { SvelteComponent as g, init as v, safe_not_equal as D, append_styles as k, svg_element as u, attr as l, insert as y, append as d, transition_in as c, group_outros as w, transition_out as _, check_outros as b, detach as p, add_render_callback as z, create_in_transition as S, create_out_transition as G } from "../../../../vendor/svelte/internal/index.js";
2
+ import { draw as h } from "../../../../vendor/svelte/transition/index.js";
3
+ import { uuid as U } from "../../../../shared-utils/uuid.js";
4
+ function q(n) {
5
+ k(n, "svelte-1omzoh4", ".straight-line.svelte-1omzoh4{display:block;width:100%;height:100%;overflow:visible}");
7
6
  }
8
- function L(t) {
9
- let e, i, n, o, s, r, _, f = t[3] && B(t);
7
+ function m(n) {
8
+ let e, a, o, r;
10
9
  return {
11
10
  c() {
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");
11
+ e = u("path"), l(e, "fill", "none"), l(e, "stroke", "url(#" + n[4] + ")"), l(e, "stroke-width", "1"), l(e, "d", "M0 0.5 L 148 0.5");
13
12
  },
14
- m(a, d) {
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);
13
+ m(i, t) {
14
+ y(i, e, t), r = !0;
16
15
  },
17
- p(a, d) {
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, () => {
19
- f = null;
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");
16
+ p(i, t) {
17
+ n = i;
21
18
  },
22
- d(a) {
23
- a && w(e), f && f.d();
24
- }
25
- };
26
- }
27
- function B(t) {
28
- let e, i, n, o, s;
29
- return {
30
- c() {
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]);
19
+ i(i) {
20
+ r || (i && z(() => {
21
+ o && o.end(1), a = S(e, h, {
22
+ duration: n[1],
23
+ delay: n[0]
24
+ }), a.start();
25
+ }), r = !0);
32
26
  },
33
- m(r, _) {
34
- y(r, e, _), s = !0;
27
+ o(i) {
28
+ a && a.invalidate(), i && (o = G(e, h, {
29
+ duration: n[1],
30
+ delay: n[2]
31
+ })), r = !1;
35
32
  },
36
- p(r, _) {
37
- t = r, (!s || _ & 48 && i !== (i = t[4] ? `url(#${t[10]})` : t[5])) && l(e, "stroke", i), (!s || _ & 64) && l(e, "d", t[6]);
38
- },
39
- i(r) {
40
- s || (r && R(() => {
41
- o && o.end(1), n = V(e, z, {
42
- duration: t[2],
43
- delay: t[0],
44
- easing: C
45
- }), n.start();
46
- }), s = !0);
47
- },
48
- o(r) {
49
- n && n.invalidate(), r && (o = E(e, z, {
50
- duration: t[2],
51
- delay: t[1],
52
- easing: C
53
- })), s = !1;
54
- },
55
- d(r) {
56
- r && w(e), r && o && o.end();
33
+ d(i) {
34
+ i && p(e), i && o && o.end();
57
35
  }
58
36
  };
59
37
  }
60
- function K(t) {
61
- let e, i = t[8] && L(t);
38
+ function A(n) {
39
+ let e, a, o, r, i, t = n[3] && m(n);
62
40
  return {
63
41
  c() {
64
- i && i.c(), e = H();
42
+ e = u("svg"), a = u("defs"), o = u("linearGradient"), r = u("stop"), i = u("stop"), t && t.c(), l(r, "offset", "25%"), l(r, "stop-color", "white"), l(r, "stop-opacity", "1"), l(i, "offset", "100%"), l(i, "stop-color", "white"), l(i, "stop-opacity", "0.5"), l(o, "id", n[4]), l(o, "gradientUnits", "userSpaceOnUse"), l(e, "class", "straight-line svelte-1omzoh4"), l(e, "viewBox", "0 0 148 1"), l(e, "preserveAspectRatio", "none");
43
+ },
44
+ m(f, s) {
45
+ y(f, e, s), d(e, a), d(a, o), d(o, r), d(o, i), t && t.m(e, null);
46
+ },
47
+ p(f, [s]) {
48
+ f[3] ? t ? (t.p(f, s), s & 8 && c(t, 1)) : (t = m(f), t.c(), c(t, 1), t.m(e, null)) : t && (w(), _(t, 1, 1, () => {
49
+ t = null;
50
+ }), b());
65
51
  },
66
- m(n, o) {
67
- i && i.m(n, o), y(n, e, o);
52
+ i(f) {
53
+ c(t);
68
54
  },
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);
55
+ o(f) {
56
+ _(t);
71
57
  },
72
- i: j,
73
- o: j,
74
- d(n) {
75
- i && i.d(n), n && w(e);
58
+ d(f) {
59
+ f && p(e), t && t.d();
76
60
  }
77
61
  };
78
62
  }
79
- function P(t, e, i) {
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;
81
- const S = F();
82
- return t.$$set = (u) => {
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);
84
- }, t.$$.update = () => {
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}`);
86
- }, i(7, s = 1), [
87
- _,
88
- f,
89
- a,
90
- d,
91
- b,
92
- D,
93
- r,
94
- s,
95
- o,
96
- n,
97
- S,
98
- c,
99
- k
100
- ];
63
+ function B(n, e, a) {
64
+ let { inDelay: o = 0 } = e, { duration: r = 0 } = e, { outDelay: i = 0 } = e, { unfolded: t } = e;
65
+ const f = U();
66
+ return n.$$set = (s) => {
67
+ "inDelay" in s && a(0, o = s.inDelay), "duration" in s && a(1, r = s.duration), "outDelay" in s && a(2, i = s.outDelay), "unfolded" in s && a(3, t = s.unfolded);
68
+ }, [o, r, i, t, f];
101
69
  }
102
- class Y extends G {
70
+ class M extends g {
103
71
  constructor(e) {
104
- super(), U(
72
+ super(), v(
105
73
  this,
106
74
  e,
107
- P,
108
- K,
109
- q,
75
+ B,
76
+ A,
77
+ D,
110
78
  {
111
79
  inDelay: 0,
112
- outDelay: 1,
113
- duration: 2,
114
- unfolded: 3,
115
- length: 11,
116
- direction: 12,
117
- useLinearColor: 4,
118
- color: 5
80
+ duration: 1,
81
+ outDelay: 2,
82
+ unfolded: 3
119
83
  },
120
- J
84
+ q
121
85
  );
122
86
  }
123
87
  }
124
88
  export {
125
- Y as default
89
+ M as Straight
126
90
  };