@realsee/dnalogel 2.4.0 → 2.5.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 (440) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  3. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  4. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
  5. package/dist/PanoTagPlugin/controller/index.d.ts +25 -14
  6. package/dist/PanoTagPlugin/index.d.ts +1 -1
  7. package/dist/PanoTagPlugin/typings/controller.d.ts +23 -17
  8. package/dist/PanoTagPlugin/typings/index.d.ts +5 -1
  9. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  10. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  11. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  12. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
  13. package/dist/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
  14. package/dist/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  15. package/dist/PanoTagPlugin/utils/color.d.ts +7 -0
  16. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  17. package/dist/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  18. package/dist/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  19. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  20. package/dist/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  21. package/dist/index.cjs.js +52 -54
  22. package/dist/index.js +7771 -6537
  23. package/dist/index.umd.js +44 -46
  24. package/dist/shared-utils/audio.d.ts +31 -0
  25. package/docs/assets/search.js +1 -1
  26. package/docs/classes/CSS3DRender.html +31 -31
  27. package/docs/classes/CruisePluginController.html +24 -24
  28. package/docs/classes/Magnifier.html +20 -20
  29. package/docs/classes/ModelRoomLabelController.html +11 -11
  30. package/docs/classes/Object3DHelperController.html +24 -24
  31. package/docs/classes/PaintBrush.html +15 -15
  32. package/docs/classes/PanoMeasurePluginLine.html +23 -23
  33. package/docs/classes/PanoMeasurePluginModel.html +22 -22
  34. package/docs/classes/PanoMeasurePluginPoint.html +14 -14
  35. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  36. package/docs/classes/PanoTagPluginController.html +223 -176
  37. package/docs/classes/Util.BetterTween.html +8 -8
  38. package/docs/classes/Util.FivePointSelector.html +12 -12
  39. package/docs/classes/Util.Interval.html +12 -12
  40. package/docs/classes/Util.Magnifier.html +17 -17
  41. package/docs/classes/Util.PointDomHelper.html +11 -11
  42. package/docs/classes/Util.PointHelper.html +11 -11
  43. package/docs/classes/Util.Rectangle.html +13 -13
  44. package/docs/enums/CameraMovementEffect.html +7 -7
  45. package/docs/enums/ContentType.html +75 -35
  46. package/docs/enums/DIRECTION.html +9 -9
  47. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  48. package/docs/enums/DimensionType.html +19 -15
  49. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  50. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  51. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  52. package/docs/enums/PointType.html +19 -15
  53. package/docs/enums/Rotation.html +8 -8
  54. package/docs/functions/CSS3DRenderPlugin.html +39 -13
  55. package/docs/functions/CameraMovementPlugin.html +39 -13
  56. package/docs/functions/CruisePlugin.html +39 -13
  57. package/docs/functions/GuideLinePlugin.html +40 -14
  58. package/docs/functions/ItemLabelPlugin.html +39 -13
  59. package/docs/functions/MapviewFloorplanPlugin.html +39 -13
  60. package/docs/functions/ModelChassisCompassPlugin.html +39 -13
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +39 -13
  62. package/docs/functions/ModelFloorplanPlugin.html +39 -13
  63. package/docs/functions/ModelItemLabelPlugin.html +39 -13
  64. package/docs/functions/ModelRoomLabelPlugin.html +39 -13
  65. package/docs/functions/ModelTVVideoPlugin.html +39 -13
  66. package/docs/functions/ModelViewPlugin.html +39 -13
  67. package/docs/functions/Object3DHelperPlugin.html +39 -13
  68. package/docs/functions/PanoCompassPlugin.html +39 -13
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +39 -13
  70. package/docs/functions/PanoDoorLabelPlugin.html +39 -13
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +39 -13
  72. package/docs/functions/PanoMeasurePlugin.html +39 -13
  73. package/docs/functions/PanoRulerPlugin.html +39 -13
  74. package/docs/functions/PanoRulerProPlugin.html +39 -13
  75. package/docs/functions/PanoSpatialTagPlugin.html +39 -13
  76. package/docs/functions/PanoTagPlugin.html +45 -23
  77. package/docs/functions/TopviewFloorplanPlugin.html +39 -13
  78. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  79. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  80. package/docs/functions/Util.getFrameTime.html +5 -5
  81. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  82. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  83. package/docs/functions/Util.isNil.html +5 -5
  84. package/docs/functions/Util.nextFrame.html +5 -5
  85. package/docs/functions/Util.notNil.html +5 -5
  86. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  87. package/docs/functions/Util.tweenProgress.html +5 -5
  88. package/docs/functions/pluginFlag.html +40 -14
  89. package/docs/index.html +39 -13
  90. package/docs/interfaces/AddTagConfig.html +64 -0
  91. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  92. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  93. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  94. package/docs/interfaces/EventMap.html +298 -0
  95. package/docs/interfaces/FloorplanBounding.html +8 -8
  96. package/docs/interfaces/FloorplanData.html +10 -10
  97. package/docs/interfaces/FloorplanEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  99. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  100. package/docs/interfaces/FloorplanFloorData.html +9 -9
  101. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  102. package/docs/interfaces/FloorplanObserver.html +9 -9
  103. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  104. package/docs/interfaces/FloorplanPosition.html +7 -7
  105. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  107. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  108. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  109. package/docs/interfaces/FloorplanServerData.html +7 -7
  110. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  112. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  113. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  114. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  115. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  117. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  118. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  120. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  121. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  122. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  123. package/docs/interfaces/MinMax.html +71 -0
  124. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  125. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  126. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  127. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  128. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  129. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  130. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  131. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  132. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  133. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  134. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  135. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  136. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  137. package/docs/interfaces/Object3DHelperState.html +8 -8
  138. package/docs/interfaces/PaintBrushAction.html +12 -12
  139. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  140. package/docs/interfaces/PaintBrushState.html +10 -10
  141. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  142. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +40 -14
  143. package/docs/interfaces/PanoMeasureParameterType.html +12 -12
  144. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -8
  145. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -7
  146. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -7
  147. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -8
  148. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  149. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  150. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  151. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  152. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  153. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  154. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  155. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +40 -14
  156. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +40 -14
  157. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  158. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  159. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  160. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  161. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  162. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  163. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  164. package/docs/interfaces/Point.html +8 -8
  165. package/docs/interfaces/Room.html +9 -9
  166. package/docs/interfaces/RoomInfo.html +7 -7
  167. package/docs/interfaces/RoomLabel.html +14 -14
  168. package/docs/interfaces/RoomRules.html +40 -14
  169. package/docs/interfaces/Rooms.html +40 -14
  170. package/docs/interfaces/Scissor.html +9 -9
  171. package/docs/interfaces/State.html +89 -0
  172. package/docs/interfaces/TagCache.html +92 -0
  173. package/docs/interfaces/TagConfig.html +15 -19
  174. package/docs/interfaces/TagIconUrl.html +91 -0
  175. package/docs/interfaces/Tags.html +14 -12
  176. package/docs/interfaces/TemporaryState.html +64 -0
  177. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  178. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  179. package/docs/modules/Util.html +5 -5
  180. package/docs/modules.html +73 -21
  181. package/docs/types/ArrayPosition.html +41 -15
  182. package/docs/types/AudioAppearance.html +256 -0
  183. package/docs/types/AudioTagTypeConfigKey.html +256 -0
  184. package/docs/types/CSS3DRenderExportType.html +40 -14
  185. package/docs/types/CSS3DRenderPluginExportType.html +40 -14
  186. package/docs/types/CSS3DRenderPluginParameterType.html +40 -14
  187. package/docs/types/Color.html +40 -14
  188. package/docs/types/ContentTypeConfigKey.html +41 -15
  189. package/docs/types/ContentTypeConfigKeySplit.html +256 -0
  190. package/docs/types/ContentTypeMap.html +256 -0
  191. package/docs/types/Create3DDomContainerReturnType.html +40 -14
  192. package/docs/types/Create3DElementReturnType.html +40 -14
  193. package/docs/types/CruisePluginExportType.html +40 -14
  194. package/docs/types/Direction-1.html +40 -14
  195. package/docs/types/Direction4.html +40 -14
  196. package/docs/types/FloorplanRuleLabels.html +40 -14
  197. package/docs/types/FloorplanServerRuleLabels.html +40 -14
  198. package/docs/types/GuideLinePluginExportType.html +40 -14
  199. package/docs/types/HelperEventMap.html +40 -14
  200. package/docs/types/LoadTagConfig.html +256 -0
  201. package/docs/types/MapviewFloorplanPluginParameterType.html +40 -14
  202. package/docs/types/MapviewFloorplanPluginReturnType.html +40 -14
  203. package/docs/types/MediaData.html +40 -14
  204. package/docs/types/MediaStore.html +256 -0
  205. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +40 -14
  206. package/docs/types/ModelFloorplanPluginParameterType.html +40 -14
  207. package/docs/types/ModelFloorplanPluginReturnType.html +40 -14
  208. package/docs/types/ModelRoomLabelPluginParameters.html +40 -14
  209. package/docs/types/ModelRoomLabelPluginReturnType.html +40 -14
  210. package/docs/types/MoveArgs.html +40 -14
  211. package/docs/types/MoveOpts.html +40 -14
  212. package/docs/types/Object3DHelperEventMap.html +40 -14
  213. package/docs/types/ObjectFit.html +40 -14
  214. package/docs/types/PaintBrushEventMap.html +40 -14
  215. package/docs/types/PanoCompassPluginData.html +40 -14
  216. package/docs/types/PanoCompassPluginExportType.html +40 -14
  217. package/docs/types/PanoCompassPluginParameterType.html +40 -14
  218. package/docs/types/PanoFloorplanRadarPluginParameterType.html +40 -14
  219. package/docs/types/PanoFloorplanRadarPluginReturnType.html +40 -14
  220. package/docs/types/PanoIndex.html +256 -0
  221. package/docs/types/PanoMeasurePluginEvent.html +40 -14
  222. package/docs/types/PanoMeasureReturnType.html +40 -14
  223. package/docs/types/PanoSpatialTagPluginId.html +40 -14
  224. package/docs/types/PanoTagPluginExportInterface.html +40 -14
  225. package/docs/types/PanoTagPluginParamsInterface.html +40 -14
  226. package/docs/types/PlaneTag.html +43 -19
  227. package/docs/types/PlaneTagElement.html +261 -0
  228. package/docs/types/Point2DElement.html +261 -0
  229. package/docs/types/Point2DTag.html +263 -0
  230. package/docs/types/Point3DElement.html +261 -0
  231. package/docs/types/Point3DTag.html +263 -0
  232. package/docs/types/PointTag.html +43 -23
  233. package/docs/types/PointTagElement.html +261 -0
  234. package/docs/types/Position.html +40 -14
  235. package/docs/types/RotateArgs.html +40 -14
  236. package/docs/types/RotateOpts.html +40 -14
  237. package/docs/types/RuleLabelsKey.html +40 -14
  238. package/docs/types/RuleLabelsValue.html +40 -14
  239. package/docs/types/StickType.html +256 -0
  240. package/docs/types/Tag.html +44 -22
  241. package/docs/types/Tag2D.html +45 -20
  242. package/docs/types/Tag3D.html +45 -20
  243. package/docs/types/TagContentType.html +256 -0
  244. package/docs/types/TagDimensionType.html +256 -0
  245. package/docs/types/TagElement.html +263 -0
  246. package/docs/types/TagEvents.html +291 -0
  247. package/docs/types/TagHooks.html +256 -0
  248. package/docs/types/TagIconSize.html +259 -0
  249. package/docs/types/TagId.html +40 -14
  250. package/docs/types/TagPointType.html +259 -0
  251. package/docs/types/TopviewFloorplanPluginParameterType.html +40 -14
  252. package/docs/types/TopviewFloorplanPluginReturnType.html +40 -14
  253. package/docs/types/{ContentTypeConfigKeyArray.html → WorkCode.html} +43 -17
  254. package/docs/variables/FLOOR_TYPE_MAP.html +40 -14
  255. package/docs/variables/PLUGIN.html +40 -14
  256. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +40 -14
  257. package/docs/variables/ROOM_TYPE_MAP.html +40 -14
  258. package/docs/variables/VERSION.html +40 -14
  259. package/docs/variables/itemLabelPluginServerParams.html +40 -14
  260. package/docs/variables/modelItemLabelPluginServerParams.html +40 -14
  261. package/docs/variables/modelRoomLabelPluginServerParams.html +40 -14
  262. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  263. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  264. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  265. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  266. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  267. package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
  268. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  269. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +4 -3
  270. package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
  271. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
  272. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
  273. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
  274. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  275. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  276. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  277. package/libs/CruisePlugin/Controller.js +2 -2
  278. package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
  279. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  280. package/libs/GuideLinePlugin/Controller.js +1 -1
  281. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  282. package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  283. package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
  284. package/libs/Object3DHelperPlugin/Controller.js +38 -36
  285. package/libs/PanoMeasurePlugin/Controller/BaseController.js +18 -9
  286. package/libs/PanoMeasurePlugin/Controller/EditController.js +16 -5
  287. package/libs/PanoMeasurePlugin/Controller/MixedController.js +38 -19
  288. package/libs/PanoMeasurePlugin/Controller/ViewController.js +13 -5
  289. package/libs/PanoMeasurePlugin/Controller/WatchController.js +31 -20
  290. package/libs/PanoMeasurePlugin/Controller/index.js +54 -18
  291. package/libs/PanoMeasurePlugin/Model/index.js +41 -34
  292. package/libs/PanoMeasurePlugin/Model/line.js +9 -6
  293. package/libs/PanoMeasurePlugin/Model/point.js +3 -3
  294. package/libs/PanoMeasurePlugin/Model/polyline.js +19 -12
  295. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  296. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  297. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  298. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  299. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  300. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +24 -24
  301. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  302. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +1 -1
  303. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +16 -15
  304. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  305. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
  306. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
  307. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
  308. package/libs/PanoMeasurePlugin/index.js +16 -16
  309. package/libs/PanoMeasurePlugin/typings/data.js +1 -0
  310. package/libs/PanoMeasurePlugin/typings/event.type.js +4 -0
  311. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  312. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  313. package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
  314. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  315. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  316. package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
  317. package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
  318. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  319. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
  320. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  321. package/libs/PanoMeasurePlugin/utils/line.js +1 -0
  322. package/libs/PanoMeasurePlugin/utils/math.js +2 -1
  323. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  324. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  325. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  326. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  327. package/libs/PanoTagPlugin/Assets/Icon.d.ts +3 -2
  328. package/libs/PanoTagPlugin/Assets/Icon.js +4 -3
  329. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  330. package/libs/PanoTagPlugin/Components/Common/Audio.js +103 -140
  331. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +198 -0
  332. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +108 -0
  333. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  334. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +95 -59
  335. package/libs/PanoTagPlugin/Components/Common/Media.js +275 -249
  336. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +143 -79
  337. package/libs/PanoTagPlugin/Components/Common/Shadow.js +11 -10
  338. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +81 -0
  339. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +145 -0
  340. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +195 -0
  341. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +166 -0
  342. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  343. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +172 -0
  344. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +223 -0
  345. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +123 -0
  346. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  347. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +126 -131
  348. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +75 -97
  349. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +166 -143
  350. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +75 -45
  351. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +130 -0
  352. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +134 -0
  353. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +115 -0
  354. package/libs/PanoTagPlugin/Components/Tag/index.js +264 -157
  355. package/libs/PanoTagPlugin/Components/TagContainer.js +164 -109
  356. package/libs/PanoTagPlugin/Components/TagItem.js +253 -0
  357. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +1 -2
  358. package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
  359. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +19 -22
  360. package/libs/PanoTagPlugin/controller/TagComputer.js +186 -151
  361. package/libs/PanoTagPlugin/controller/index.d.ts +25 -14
  362. package/libs/PanoTagPlugin/controller/index.js +265 -170
  363. package/libs/PanoTagPlugin/index.d.ts +1 -1
  364. package/libs/PanoTagPlugin/index.js +51 -35
  365. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  366. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  367. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  368. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  369. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  370. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  371. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  372. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  373. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  374. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  375. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  376. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  377. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  378. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  379. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  380. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  381. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  382. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  383. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  384. package/libs/PanoTagPlugin/tag.config.js +31 -16
  385. package/libs/PanoTagPlugin/typings/controller.d.ts +23 -17
  386. package/libs/PanoTagPlugin/typings/index.d.ts +5 -1
  387. package/libs/PanoTagPlugin/typings/index.js +7 -1
  388. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +53 -0
  389. package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -0
  390. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +88 -0
  391. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +1 -0
  392. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +155 -0
  393. package/libs/PanoTagPlugin/typings/tag/TagData.js +4 -0
  394. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +53 -0
  395. package/libs/PanoTagPlugin/typings/tag/Utils.js +5 -0
  396. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.d.ts +1 -0
  397. package/libs/PanoTagPlugin/utils/actionAfterFiveModelLoad.js +7 -1
  398. package/libs/PanoTagPlugin/utils/audio/SharedAudio.d.ts +16 -0
  399. package/libs/PanoTagPlugin/utils/audio/SharedAudio.js +107 -0
  400. package/libs/PanoTagPlugin/utils/color.d.ts +7 -0
  401. package/libs/PanoTagPlugin/utils/color.js +17 -0
  402. package/libs/PanoTagPlugin/utils/constants.js +2 -1
  403. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  404. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +16 -0
  405. package/libs/PanoTagPlugin/utils/getImageInfo.js +51 -0
  406. package/libs/PanoTagPlugin/utils/index.js +36 -0
  407. package/libs/PanoTagPlugin/utils/px2rem.d.ts +1 -0
  408. package/libs/PanoTagPlugin/utils/px2rem.js +6 -0
  409. package/libs/PanoTagPlugin/utils/search.js +27 -9
  410. package/libs/PanoTagPlugin/utils/tag/format.d.ts +2 -0
  411. package/libs/PanoTagPlugin/utils/tag/format.js +18 -0
  412. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +7 -0
  413. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +26 -0
  414. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  415. package/libs/PanoTagPlugin/utils/timeToString.d.ts +1 -0
  416. package/libs/PanoTagPlugin/utils/timeToString.js +7 -0
  417. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  418. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
  419. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  420. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
  421. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  422. package/libs/index.js +126 -114
  423. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +29 -39
  424. package/libs/shared-utils/audio.d.ts +31 -0
  425. package/libs/shared-utils/audio.js +81 -0
  426. package/libs/vendor/svelte/internal/index.js +382 -338
  427. package/package.json +3 -3
  428. package/dist/PanoTagPlugin/typings/tag.d.ts +0 -247
  429. package/docs/enums/LinkType.html +0 -67
  430. package/docs/interfaces/ContentTypeMap.html +0 -212
  431. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +0 -170
  432. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +0 -50
  433. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +0 -50
  434. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +0 -166
  435. package/libs/PanoTagPlugin/Components/Common/Text.js +0 -130
  436. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +0 -131
  437. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +0 -122
  438. package/libs/PanoTagPlugin/Components/TagWrapper.js +0 -152
  439. package/libs/PanoTagPlugin/typings/tag.d.ts +0 -247
  440. package/libs/PanoTagPlugin/typings/tag.js +0 -7
@@ -0,0 +1,198 @@
1
+ var w = (n, i, t) => new Promise((e, o) => {
2
+ var l = (f) => {
3
+ try {
4
+ a(t.next(f));
5
+ } catch (m) {
6
+ o(m);
7
+ }
8
+ }, r = (f) => {
9
+ try {
10
+ a(t.throw(f));
11
+ } catch (m) {
12
+ o(m);
13
+ }
14
+ }, a = (f) => f.done ? e(f.value) : Promise.resolve(f.value).then(l, r);
15
+ a((t = t.apply(n, i)).next());
16
+ });
17
+ import { SvelteComponent as N, init as R, safe_not_equal as S, append_styles as W, empty as C, insert as k, transition_in as _, transition_out as h, check_outros as H, detach as b, createEventDispatcher as z, element as p, space as D, attr as c, set_style as s, append as g, group_outros as I, create_component as E, mount_component as X, destroy_component as A, src_url_equal as y, handle_promise as v, update_await_block_branch as B, noop as d } from "../../../../vendor/svelte/internal/index.js";
18
+ import { getKeyframeInfo as F } from "../../../utils/getImageInfo.js";
19
+ import u from "../../../utils/px2rem.js";
20
+ import G from "../Shadow.js";
21
+ import "../../../../vendor/svelte/transition/index.js";
22
+ import "../../../../vendor/svelte/easing/index.js";
23
+ function J(n) {
24
+ W(n, "svelte-mhs8j5", "@keyframes svelte-mhs8j5-sprites-animation{0%{background-position:0 0}100%{background-position:var(--keyframe_offset_x) 0}}.icon-image.svelte-mhs8j5{display:block;width:100%}.icon-keyframe-container.svelte-mhs8j5{overflow:hidden}.icon-keyframe-wrapper.svelte-mhs8j5{transform-origin:0 0}.icon-keyframe.svelte-mhs8j5{background-repeat:no-repeat;animation-direction:normal;animation-iteration-count:infinite;animation-name:svelte-mhs8j5-sprites-animation}");
25
+ }
26
+ function j(n) {
27
+ n[6] = n[14].url, n[7] = n[14].keyframesWidth, n[8] = n[14].keyframesHeight, n[9] = n[14].wrapperWidth, n[10] = n[14].wrapperHeight, n[11] = n[14].steps, n[12] = n[14].duration, n[13] = n[14].offsetX;
28
+ }
29
+ function K(n) {
30
+ let i, t, e, o = n[2] && q();
31
+ function l(f, m) {
32
+ return f[3] ? O : M;
33
+ }
34
+ let r = l(n), a = r(n);
35
+ return {
36
+ c() {
37
+ i = p("div"), o && o.c(), t = D(), a.c(), c(i, "class", "icon"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : n[0]);
38
+ },
39
+ m(f, m) {
40
+ k(f, i, m), o && o.m(i, null), g(i, t), a.m(i, null), e = !0;
41
+ },
42
+ p(f, m) {
43
+ f[2] ? o ? m & 4 && _(o, 1) : (o = q(), o.c(), _(o, 1), o.m(i, t)) : o && (I(), h(o, 1, 1, () => {
44
+ o = null;
45
+ }), H()), r === (r = l(f)) && a ? a.p(f, m) : (a.d(1), a = r(f), a && (a.c(), a.m(i, null))), m & 1 && s(i, "width", typeof f[0] == "number" ? u(f[0]) : f[0]);
46
+ },
47
+ i(f) {
48
+ e || (_(o), e = !0);
49
+ },
50
+ o(f) {
51
+ h(o), e = !1;
52
+ },
53
+ d(f) {
54
+ f && b(i), o && o.d(), a.d();
55
+ }
56
+ };
57
+ }
58
+ function q(n) {
59
+ let i, t;
60
+ return i = new G({
61
+ props: {
62
+ center: !0,
63
+ blurRadius: 24,
64
+ spreadRadius: 16
65
+ }
66
+ }), {
67
+ c() {
68
+ E(i.$$.fragment);
69
+ },
70
+ m(e, o) {
71
+ X(i, e, o), t = !0;
72
+ },
73
+ i(e) {
74
+ t || (_(i.$$.fragment, e), t = !0);
75
+ },
76
+ o(e) {
77
+ h(i.$$.fragment, e), t = !1;
78
+ },
79
+ d(e) {
80
+ A(i, e);
81
+ }
82
+ };
83
+ }
84
+ function M(n) {
85
+ let i, t;
86
+ return {
87
+ c() {
88
+ i = p("img"), c(i, "class", "icon-image svelte-mhs8j5"), y(i.src, t = n[1].url) || c(i, "src", t), c(i, "alt", "icon");
89
+ },
90
+ m(e, o) {
91
+ k(e, i, o);
92
+ },
93
+ p(e, o) {
94
+ o & 2 && !y(i.src, t = e[1].url) && c(i, "src", t);
95
+ },
96
+ d(e) {
97
+ e && b(i);
98
+ }
99
+ };
100
+ }
101
+ function O(n) {
102
+ let i, t, e = {
103
+ ctx: n,
104
+ current: null,
105
+ token: null,
106
+ hasCatch: !1,
107
+ pending: T,
108
+ then: Q,
109
+ catch: P,
110
+ value: 14
111
+ };
112
+ return v(t = n[4](n[1]), e), {
113
+ c() {
114
+ i = C(), e.block.c();
115
+ },
116
+ m(o, l) {
117
+ k(o, i, l), e.block.m(o, e.anchor = l), e.mount = () => i.parentNode, e.anchor = i;
118
+ },
119
+ p(o, l) {
120
+ n = o, e.ctx = n, l & 2 && t !== (t = n[4](n[1])) && v(t, e) || B(e, n, l);
121
+ },
122
+ d(o) {
123
+ o && b(i), e.block.d(o), e.token = null, e = null;
124
+ }
125
+ };
126
+ }
127
+ function P(n) {
128
+ return { c: d, m: d, p: d, d };
129
+ }
130
+ function Q(n) {
131
+ j(n);
132
+ let i, t, e, o = `url(${n[6]})`, l = `steps(${n[11] - 1})`;
133
+ return {
134
+ c() {
135
+ i = p("div"), t = p("div"), e = p("div"), c(e, "class", "icon-keyframe svelte-mhs8j5"), s(e, "width", u(n[7])), s(e, "height", u(n[8])), s(e, "background-image", o), s(e, "animation-duration", n[12]), s(e, "animation-timing-function", l), s(e, "animation-delay", 0), s(e, "background-size", "100% 100%"), s(e, "--keyframe_offset_x", u(n[13])), c(t, "class", "icon-keyframe-wrapper svelte-mhs8j5"), s(t, "transform", typeof n[0] == "number" ? `scale(${n[0] / n[9]})` : void 0), c(i, "class", "icon-keyframe-container svelte-mhs8j5"), s(i, "width", typeof n[0] == "number" ? u(n[0]) : u(n[9])), s(i, "height", typeof n[0] == "number" ? u(n[10] * (n[0] / n[9])) : u(n[10]));
136
+ },
137
+ m(r, a) {
138
+ k(r, i, a), g(i, t), g(t, e);
139
+ },
140
+ p(r, a) {
141
+ j(r), a & 2 && s(e, "width", u(r[7])), a & 2 && s(e, "height", u(r[8])), a & 2 && o !== (o = `url(${r[6]})`) && s(e, "background-image", o), a & 2 && s(e, "animation-duration", r[12]), a & 2 && l !== (l = `steps(${r[11] - 1})`) && s(e, "animation-timing-function", l), a & 2 && s(e, "--keyframe_offset_x", u(r[13])), a & 3 && s(t, "transform", typeof r[0] == "number" ? `scale(${r[0] / r[9]})` : void 0), a & 3 && s(i, "width", typeof r[0] == "number" ? u(r[0]) : u(r[9])), a & 3 && s(i, "height", typeof r[0] == "number" ? u(r[10] * (r[0] / r[9])) : u(r[10]));
142
+ },
143
+ d(r) {
144
+ r && b(i);
145
+ }
146
+ };
147
+ }
148
+ function T(n) {
149
+ return { c: d, m: d, p: d, d };
150
+ }
151
+ function U(n) {
152
+ let i, t, e = n[1] && K(n);
153
+ return {
154
+ c() {
155
+ e && e.c(), i = C();
156
+ },
157
+ m(o, l) {
158
+ e && e.m(o, l), k(o, i, l), t = !0;
159
+ },
160
+ p(o, [l]) {
161
+ o[1] ? e ? (e.p(o, l), l & 2 && _(e, 1)) : (e = K(o), e.c(), _(e, 1), e.m(i.parentNode, i)) : e && (I(), h(e, 1, 1, () => {
162
+ e = null;
163
+ }), H());
164
+ },
165
+ i(o) {
166
+ t || (_(e), t = !0);
167
+ },
168
+ o(o) {
169
+ h(e), t = !1;
170
+ },
171
+ d(o) {
172
+ e && e.d(o), o && b(i);
173
+ }
174
+ };
175
+ }
176
+ function V(n, i, t) {
177
+ let e, { width: o = null } = i, { icon: l = null } = i, { shadow: r = !1 } = i;
178
+ const a = z();
179
+ function f(m) {
180
+ return w(this, null, function* () {
181
+ const L = yield F(m);
182
+ return a("iconLoaded"), L;
183
+ });
184
+ }
185
+ return n.$$set = (m) => {
186
+ "width" in m && t(0, o = m.width), "icon" in m && t(1, l = m.icon), "shadow" in m && t(2, r = m.shadow);
187
+ }, n.$$.update = () => {
188
+ n.$$.dirty & 2 && t(3, e = (l == null ? void 0 : l.steps) >= 2), n.$$.dirty & 8 && !e && a("iconLoaded");
189
+ }, [o, l, r, e, f];
190
+ }
191
+ class oe extends N {
192
+ constructor(i) {
193
+ super(), R(this, i, V, U, S, { width: 0, icon: 1, shadow: 2 }, J);
194
+ }
195
+ }
196
+ export {
197
+ oe as default
198
+ };
@@ -0,0 +1,108 @@
1
+ import { SvelteComponent as b, init as A, safe_not_equal as M, append_styles as L, element as f, space as R, attr as u, toggle_class as h, set_style as d, insert as S, append as _, transition_in as c, transition_out as m, check_outros as W, detach as j, create_component as q, mount_component as B, destroy_component as C, group_outros as H, binding_callbacks as w } from "../../../../vendor/svelte/internal/index.js";
2
+ import I from "../../../utils/px2rem.js";
3
+ import T from "../Shadow.js";
4
+ import "../../../../vendor/svelte/transition/index.js";
5
+ import "../../../../vendor/svelte/easing/index.js";
6
+ function z(i) {
7
+ L(i, "svelte-srt2pi", ".audio-icon__wrapper.svelte-srt2pi.svelte-srt2pi{display:inline-block}.audio-icon.svelte-srt2pi.svelte-srt2pi{display:flex;justify-content:center;align-items:center;position:relative;width:100%;height:100%;border-radius:50%;background-color:rgba(255, 255, 255, 0.8)}.audio-icon.svelte-srt2pi .sound-wave__container.svelte-srt2pi{position:absolute;pointer-events:none;width:60%;height:60%}.sound-wave.svelte-srt2pi.svelte-srt2pi{animation-duration:2s;animation-iteration-count:infinite;animation-play-state:paused;transition:opacity 0}.playing.svelte-srt2pi .sound-wave.svelte-srt2pi{animation-play-state:running}.playing.svelte-srt2pi .sound-wave-1.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_1_animation}.playing.svelte-srt2pi .sound-wave-2.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_2_animation}.playing.svelte-srt2pi .sound-wave-3.svelte-srt2pi{animation-name:svelte-srt2pi-sound_wave_3_animation}@keyframes svelte-srt2pi-sound_wave_1_animation{0%,10%{opacity:0}25%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_2_animation{0%,35%{opacity:0}50%,100%{opacity:1}}@keyframes svelte-srt2pi-sound_wave_3_animation{0%,60%{opacity:0}75%,100%{opacity:1}}");
8
+ }
9
+ function y(i) {
10
+ let t, a;
11
+ return t = new T({
12
+ props: {
13
+ center: !0,
14
+ blurRadius: 12,
15
+ spreadRadius: 5
16
+ }
17
+ }), {
18
+ c() {
19
+ q(t.$$.fragment);
20
+ },
21
+ m(n, r) {
22
+ B(t, n, r), a = !0;
23
+ },
24
+ i(n) {
25
+ a || (c(t.$$.fragment, n), a = !0);
26
+ },
27
+ o(n) {
28
+ m(t.$$.fragment, n), a = !1;
29
+ },
30
+ d(n) {
31
+ C(t, n);
32
+ }
33
+ };
34
+ }
35
+ function D(i) {
36
+ let t, a, n, r, p, e = i[1] && y();
37
+ return {
38
+ c() {
39
+ t = f("div"), e && e.c(), a = R(), n = f("div"), r = f("div"), r.innerHTML = '<svg width="100%" height="100%" viewBox="0 0 128 128"><g transform="rotate(-45 12 64) translate(12 64)" fill="black" stroke="black" fill-opacity="0.6" stroke-opacity="0.6"><path stroke="none" class="sound-wave sound-wave-1 svelte-srt2pi" d="M0,23 A23,23 0 0,0 23,0 L0,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-2 svelte-srt2pi" d="M0,46 A46,46 0 0,0 46,0"></path><path fill="none" stroke-width="15" class="sound-wave sound-wave-3 svelte-srt2pi" d="M0,80 A80,80 0 0,0 80,0"></path></g></svg>', u(r, "class", "sound-wave__container svelte-srt2pi"), u(n, "class", "audio-icon svelte-srt2pi"), h(n, "playing", i[0]), u(t, "class", "audio-icon__wrapper svelte-srt2pi"), u(t, "style", i[2]), d(t, "width", i[5]), d(t, "height", i[5]);
40
+ },
41
+ m(s, l) {
42
+ S(s, t, l), e && e.m(t, null), _(t, a), _(t, n), _(n, r), i[7](r), i[8](t), p = !0;
43
+ },
44
+ p(s, [l]) {
45
+ s[1] ? e ? l & 2 && c(e, 1) : (e = y(), e.c(), c(e, 1), e.m(t, a)) : e && (H(), m(e, 1, 1, () => {
46
+ e = null;
47
+ }), W()), (!p || l & 1) && h(n, "playing", s[0]), (!p || l & 4) && u(t, "style", s[2]), l & 32 && d(t, "width", s[5]), l & 32 && d(t, "height", s[5]);
48
+ },
49
+ i(s) {
50
+ p || (c(e), p = !0);
51
+ },
52
+ o(s) {
53
+ m(e), p = !1;
54
+ },
55
+ d(s) {
56
+ s && j(t), e && e.d(), i[7](null), i[8](null);
57
+ }
58
+ };
59
+ }
60
+ function E(i, t, a) {
61
+ let n, { playing: r } = t, { shadow: p = !1 } = t, { style: e = null } = t, { width: s = "100%" } = t, l, v;
62
+ function g(o) {
63
+ w[o ? "unshift" : "push"](() => {
64
+ v = o, a(4, v);
65
+ });
66
+ }
67
+ function k(o) {
68
+ w[o ? "unshift" : "push"](() => {
69
+ l = o, a(3, l);
70
+ });
71
+ }
72
+ return i.$$set = (o) => {
73
+ "playing" in o && a(0, r = o.playing), "shadow" in o && a(1, p = o.shadow), "style" in o && a(2, e = o.style), "width" in o && a(6, s = o.width);
74
+ }, i.$$.update = () => {
75
+ i.$$.dirty & 64 && a(5, n = typeof s == "number" ? I(s) : s);
76
+ }, [
77
+ r,
78
+ p,
79
+ e,
80
+ l,
81
+ v,
82
+ n,
83
+ s,
84
+ g,
85
+ k
86
+ ];
87
+ }
88
+ class O extends b {
89
+ constructor(t) {
90
+ super(), A(
91
+ this,
92
+ t,
93
+ E,
94
+ D,
95
+ M,
96
+ {
97
+ playing: 0,
98
+ shadow: 1,
99
+ style: 2,
100
+ width: 6
101
+ },
102
+ z
103
+ );
104
+ }
105
+ }
106
+ export {
107
+ O as default
108
+ };
@@ -1,25 +1,25 @@
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";
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";
2
2
  import { uuid as L } from "../../../../shared-utils/uuid.js";
3
- import { draw as h } from "../../../../vendor/svelte/transition/index.js";
3
+ import { draw as m } 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
- w(n, "svelte-e72ouh", ".line.svelte-e72ouh{width:100%;height:100%;overflow:visible}");
6
+ D(n, "svelte-blgtit", ".line.svelte-blgtit{width:100%;height:100%;overflow:visible;pointer-events:none}");
7
7
  }
8
- function m(n) {
9
- let e, a, o, r;
8
+ function y(n) {
9
+ let e, a, l, r;
10
10
  return {
11
11
  c() {
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");
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");
13
13
  },
14
14
  m(i, t) {
15
- y(i, e, t), r = !0;
15
+ h(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 && O(() => {
22
- o && o.end(1), a = G(e, h, {
21
+ r || (i && k(() => {
22
+ l && l.end(1), a = O(e, m, {
23
23
  duration: n[1],
24
24
  delay: n[0],
25
25
  easing: S
@@ -27,52 +27,52 @@ function m(n) {
27
27
  }), r = !0);
28
28
  },
29
29
  o(i) {
30
- a && a.invalidate(), i && (o = I(e, h, {
30
+ a && a.invalidate(), i && (l = G(e, m, {
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 && p(e), i && o && o.end();
37
+ i && g(e), i && l && l.end();
38
38
  }
39
39
  };
40
40
  }
41
41
  function B(n) {
42
- let e, a, o, r, i, t = n[3] && m(n);
42
+ let e, a, l, r, i, t = n[3] && y(n);
43
43
  return {
44
44
  c() {
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");
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");
46
46
  },
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);
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);
49
49
  },
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, () => {
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, () => {
52
52
  t = null;
53
- }), k());
53
+ }), w());
54
54
  },
55
- i(f) {
55
+ i(s) {
56
56
  c(t);
57
57
  },
58
- o(f) {
58
+ o(s) {
59
59
  _(t);
60
60
  },
61
- d(f) {
62
- f && p(e), t && t.d();
61
+ d(s) {
62
+ s && g(e), t && t.d();
63
63
  }
64
64
  };
65
65
  }
66
66
  function C(n, e, a) {
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];
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];
72
72
  }
73
- class A extends D {
73
+ class A extends p {
74
74
  constructor(e) {
75
- super(), g(
75
+ super(), b(
76
76
  this,
77
77
  e,
78
78
  C,
@@ -89,5 +89,5 @@ class A extends D {
89
89
  }
90
90
  }
91
91
  export {
92
- A as Polyline
92
+ A as default
93
93
  };
@@ -1,90 +1,126 @@
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}");
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}");
6
7
  }
7
- function m(n) {
8
- let e, a, o, r;
8
+ function L(t) {
9
+ let e, i, n, o, s, r, _, f = t[3] && B(t);
9
10
  return {
10
11
  c() {
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");
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
- m(i, t) {
14
- y(i, e, t), r = !0;
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);
15
16
  },
16
- p(i, t) {
17
- n = i;
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");
18
21
  },
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);
26
- },
27
- o(i) {
28
- a && a.invalidate(), i && (o = G(e, h, {
29
- duration: n[1],
30
- delay: n[2]
31
- })), r = !1;
32
- },
33
- d(i) {
34
- i && p(e), i && o && o.end();
22
+ d(a) {
23
+ a && w(e), f && f.d();
35
24
  }
36
25
  };
37
26
  }
38
- function A(n) {
39
- let e, a, o, r, i, t = n[3] && m(n);
27
+ function B(t) {
28
+ let e, i, n, o, s;
40
29
  return {
41
30
  c() {
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");
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]);
32
+ },
33
+ m(r, _) {
34
+ y(r, e, _), s = !0;
35
+ },
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);
43
47
  },
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);
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;
46
54
  },
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());
55
+ d(r) {
56
+ r && w(e), r && o && o.end();
57
+ }
58
+ };
59
+ }
60
+ function K(t) {
61
+ let e, i = t[8] && L(t);
62
+ return {
63
+ c() {
64
+ i && i.c(), e = H();
51
65
  },
52
- i(f) {
53
- c(t);
66
+ m(n, o) {
67
+ i && i.m(n, o), y(n, e, o);
54
68
  },
55
- o(f) {
56
- _(t);
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);
57
71
  },
58
- d(f) {
59
- f && p(e), t && t.d();
72
+ i: j,
73
+ o: j,
74
+ d(n) {
75
+ i && i.d(n), n && w(e);
60
76
  }
61
77
  };
62
78
  }
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];
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
+ ];
69
101
  }
70
- class M extends g {
102
+ class Y extends G {
71
103
  constructor(e) {
72
- super(), v(
104
+ super(), U(
73
105
  this,
74
106
  e,
75
- B,
76
- A,
77
- D,
107
+ P,
108
+ K,
109
+ q,
78
110
  {
79
111
  inDelay: 0,
80
- duration: 1,
81
- outDelay: 2,
82
- unfolded: 3
112
+ outDelay: 1,
113
+ duration: 2,
114
+ unfolded: 3,
115
+ length: 11,
116
+ direction: 12,
117
+ useLinearColor: 4,
118
+ color: 5
83
119
  },
84
- q
120
+ J
85
121
  );
86
122
  }
87
123
  }
88
124
  export {
89
- M as Straight
125
+ Y as default
90
126
  };