@realsee/dnalogel 2.3.9-alpha.7 → 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 +112 -110
  31. package/dist/index.js +7139 -8277
  32. package/dist/index.umd.js +108 -106
  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 -265
  345. package/libs/PanoTagPlugin/Components/TagContainer.js +109 -165
  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 -266
  353. package/libs/PanoTagPlugin/index.d.ts +1 -1
  354. package/libs/PanoTagPlugin/index.js +35 -52
  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 -129
  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 -195
  434. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -223
  435. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -125
  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 -254
  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
@@ -0,0 +1,166 @@
1
+ import { SvelteComponent as C, init as j, safe_not_equal as N, append_styles as L, empty as b, insert as m, transition_in as c, group_outros as $, transition_out as p, check_outros as g, detach as y, element as q, space as I, attr as M, create_component as U, mount_component as h, destroy_component as w } from "../../../../vendor/svelte/internal/index.js";
2
+ import { ContentType as k } from "../../../typings/tag.js";
3
+ import { CustomPoint as z } from "./CustomPoint.js";
4
+ import { DefaultPoint as A } from "./DefaultPoint.js";
5
+ function B(o) {
6
+ L(o, "svelte-8en2lj", ".point-click-helper.svelte-8en2lj{position:absolute;width:2.5rem;height:2.5rem;left:50%;top:50%;transform:translate(-50%, -50%)}");
7
+ }
8
+ function T(o) {
9
+ let n, i, e = o[0].contentType !== k.Link && D(o);
10
+ return {
11
+ c() {
12
+ e && e.c(), n = b();
13
+ },
14
+ m(t, l) {
15
+ e && e.m(t, l), m(t, n, l), i = !0;
16
+ },
17
+ p(t, l) {
18
+ t[0].contentType !== k.Link ? e ? (e.p(t, l), l & 1 && c(e, 1)) : (e = D(t), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
19
+ e = null;
20
+ }), g());
21
+ },
22
+ i(t) {
23
+ i || (c(e), i = !0);
24
+ },
25
+ o(t) {
26
+ p(e), i = !1;
27
+ },
28
+ d(t) {
29
+ e && e.d(t), t && y(n);
30
+ }
31
+ };
32
+ }
33
+ function D(o) {
34
+ let n, i, e, t, l, u;
35
+ const f = [F, E], s = [];
36
+ function d(r, a) {
37
+ var _, v, P, S;
38
+ return ((v = (_ = r[0].style) == null ? void 0 : _.point) == null ? void 0 : v.style) === "CustomIcon" && ((S = (P = r[0].style) == null ? void 0 : P.point) == null ? void 0 : S.iconUrl) ? 0 : 1;
39
+ }
40
+ return e = d(o), t = s[e] = f[e](o), {
41
+ c() {
42
+ n = q("div"), i = I(), t.c(), l = b(), M(n, "class", "point-click-helper svelte-8en2lj");
43
+ },
44
+ m(r, a) {
45
+ m(r, n, a), m(r, i, a), s[e].m(r, a), m(r, l, a), u = !0;
46
+ },
47
+ p(r, a) {
48
+ let _ = e;
49
+ e = d(r), e === _ ? s[e].p(r, a) : ($(), p(s[_], 1, 1, () => {
50
+ s[_] = null;
51
+ }), g(), t = s[e], t ? t.p(r, a) : (t = s[e] = f[e](r), t.c()), c(t, 1), t.m(l.parentNode, l));
52
+ },
53
+ i(r) {
54
+ u || (c(t), u = !0);
55
+ },
56
+ o(r) {
57
+ p(t), u = !1;
58
+ },
59
+ d(r) {
60
+ r && y(n), r && y(i), s[e].d(r), r && y(l);
61
+ }
62
+ };
63
+ }
64
+ function E(o) {
65
+ let n, i;
66
+ return n = new A({
67
+ props: {
68
+ unfolded: o[0].state.unfolded,
69
+ foldDelay: o[1]
70
+ }
71
+ }), {
72
+ c() {
73
+ U(n.$$.fragment);
74
+ },
75
+ m(e, t) {
76
+ h(n, e, t), i = !0;
77
+ },
78
+ p(e, t) {
79
+ const l = {};
80
+ t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
81
+ },
82
+ i(e) {
83
+ i || (c(n.$$.fragment, e), i = !0);
84
+ },
85
+ o(e) {
86
+ p(n.$$.fragment, e), i = !1;
87
+ },
88
+ d(e) {
89
+ w(n, e);
90
+ }
91
+ };
92
+ }
93
+ function F(o) {
94
+ let n, i;
95
+ return n = new z({
96
+ props: {
97
+ iconUrl: o[0].style.point.iconUrl,
98
+ unfolded: o[0].state.unfolded,
99
+ foldDelay: o[1]
100
+ }
101
+ }), {
102
+ c() {
103
+ U(n.$$.fragment);
104
+ },
105
+ m(e, t) {
106
+ h(n, e, t), i = !0;
107
+ },
108
+ p(e, t) {
109
+ const l = {};
110
+ t & 1 && (l.iconUrl = e[0].style.point.iconUrl), t & 1 && (l.unfolded = e[0].state.unfolded), t & 2 && (l.foldDelay = e[1]), n.$set(l);
111
+ },
112
+ i(e) {
113
+ i || (c(n.$$.fragment, e), i = !0);
114
+ },
115
+ o(e) {
116
+ p(n.$$.fragment, e), i = !1;
117
+ },
118
+ d(e) {
119
+ w(n, e);
120
+ }
121
+ };
122
+ }
123
+ function G(o) {
124
+ var t, l, u;
125
+ let n, i, e = ((t = o[0].pointTagStyle) == null ? void 0 : t.leftPercent) && ((l = o[0].pointTagStyle) == null ? void 0 : l.topPercent) && o[0].enabled !== !1 && o[0].state && ((u = o[0].temporaryState) == null ? void 0 : u.visible) !== !1 && T(o);
126
+ return {
127
+ c() {
128
+ e && e.c(), n = b();
129
+ },
130
+ m(f, s) {
131
+ e && e.m(f, s), m(f, n, s), i = !0;
132
+ },
133
+ p(f, [s]) {
134
+ var d, r, a;
135
+ ((d = f[0].pointTagStyle) == null ? void 0 : d.leftPercent) && ((r = f[0].pointTagStyle) == null ? void 0 : r.topPercent) && f[0].enabled !== !1 && f[0].state && ((a = f[0].temporaryState) == null ? void 0 : a.visible) !== !1 ? e ? (e.p(f, s), s & 1 && c(e, 1)) : (e = T(f), e.c(), c(e, 1), e.m(n.parentNode, n)) : e && ($(), p(e, 1, 1, () => {
136
+ e = null;
137
+ }), g());
138
+ },
139
+ i(f) {
140
+ i || (c(e), i = !0);
141
+ },
142
+ o(f) {
143
+ p(e), i = !1;
144
+ },
145
+ d(f) {
146
+ e && e.d(f), f && y(n);
147
+ }
148
+ };
149
+ }
150
+ function H(o, n, i) {
151
+ let e, { tag: t } = n;
152
+ return o.$$set = (l) => {
153
+ "tag" in l && i(0, t = l.tag);
154
+ }, o.$$.update = () => {
155
+ var l, u;
156
+ o.$$.dirty & 1 && i(1, e = (u = (l = t.style) == null ? void 0 : l.foldedPointDelay) != null ? u : t.contentType === k.Marketing ? 600 : void 0);
157
+ }, [t, e];
158
+ }
159
+ class R extends C {
160
+ constructor(n) {
161
+ super(), j(this, n, H, G, N, { tag: 0 }, B);
162
+ }
163
+ }
164
+ export {
165
+ R as PointSwitch
166
+ };
@@ -1,6 +1,5 @@
1
- import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, transition_out as R, check_outros as A, detach as I, element as B, attr as h, set_style as d, add_render_callback as E, create_in_transition as F, create_out_transition as G, group_outros as H } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as X, init as S, safe_not_equal as q, append_styles as N, empty as j, insert as v, transition_in as s, group_outros as A, transition_out as R, check_outros as B, detach as I, element as E, attr as h, set_style as d, add_render_callback as F, create_in_transition as G, create_out_transition as H } from "../../../vendor/svelte/internal/index.js";
2
2
  import { fade as g } from "../../../vendor/svelte/transition/index.js";
3
- import "../../../vendor/svelte/easing/index.js";
4
3
  function J(t) {
5
4
  N(t, "svelte-faoauy", ".shadow.svelte-faoauy{position:absolute}");
6
5
  }
@@ -8,7 +7,7 @@ function k(t) {
8
7
  let i, e, l, f, u;
9
8
  return {
10
9
  c() {
11
- i = B("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
10
+ i = E("div"), h(i, "class", "shadow svelte-faoauy"), h(i, "style", e = `
12
11
  left:${o(t[5])};
13
12
  bottom:${o(t[6])};
14
13
  box-shadow: 0 0 ${o(t[10])} ${o(t[11])} rgba(0, 0, 0, ${t[12]});
@@ -31,12 +30,12 @@ function k(t) {
31
30
  `)) && h(i, "style", e), r & 8 && d(i, "width", o(t[3])), r & 16 && d(i, "height", o(t[4])), r & 8192 && d(i, "z-index", t[13]);
32
31
  },
33
32
  i(a) {
34
- u || (a && E(() => {
35
- f && f.end(1), l = F(i, g, { duration: t[0] }), l.start();
33
+ u || (a && F(() => {
34
+ f && f.end(1), l = G(i, g, { duration: t[0] }), l.start();
36
35
  }), u = !0);
37
36
  },
38
37
  o(a) {
39
- l && l.invalidate(), a && (f = G(i, g, { duration: t[1] })), u = !1;
38
+ l && l.invalidate(), a && (f = H(i, g, { duration: t[1] })), u = !1;
40
39
  },
41
40
  d(a) {
42
41
  a && I(i), a && f && f.end();
@@ -53,9 +52,9 @@ function K(t) {
53
52
  e && e.m(l, f), v(l, i, f);
54
53
  },
55
54
  p(l, [f]) {
56
- l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (H(), R(e, 1, 1, () => {
55
+ l[2] ? e ? (e.p(l, f), f & 4 && s(e, 1)) : (e = k(l), e.c(), s(e, 1), e.m(i.parentNode, i)) : e && (A(), R(e, 1, 1, () => {
57
56
  e = null;
58
- }), A());
57
+ }), B());
59
58
  },
60
59
  i(l) {
61
60
  s(e);
@@ -72,7 +71,7 @@ function o(t) {
72
71
  return typeof t == "number" ? t / 16 + "rem" : t;
73
72
  }
74
73
  function L(t, i, e) {
75
- let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: m = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: D = -1 } = i;
74
+ let { inDelay: l = 1e3 } = i, { outDelay: f = 1e3 } = i, { visible: u = !0 } = i, { width: a = 0 } = i, { height: r = 0 } = i, { left: m = 0 } = i, { bottom: _ = 0 } = i, { center: b = !1 } = i, { horizontalCenter: y = !1 } = i, { verticalCenter: c = !1 } = i, { blurRadius: w } = i, { spreadRadius: z } = i, { opacity: C = 0.15 } = i, { zIndex: D = void 0 } = i;
76
75
  return t.$$set = (n) => {
77
76
  "inDelay" in n && e(0, l = n.inDelay), "outDelay" in n && e(1, f = n.outDelay), "visible" in n && e(2, u = n.visible), "width" in n && e(3, a = n.width), "height" in n && e(4, r = n.height), "left" in n && e(5, m = n.left), "bottom" in n && e(6, _ = n.bottom), "center" in n && e(7, b = n.center), "horizontalCenter" in n && e(8, y = n.horizontalCenter), "verticalCenter" in n && e(9, c = n.verticalCenter), "blurRadius" in n && e(10, w = n.blurRadius), "spreadRadius" in n && e(11, z = n.spreadRadius), "opacity" in n && e(12, C = n.opacity), "zIndex" in n && e(13, D = n.zIndex);
78
77
  }, [
@@ -92,7 +91,7 @@ function L(t, i, e) {
92
91
  D
93
92
  ];
94
93
  }
95
- class Q extends X {
94
+ class P extends X {
96
95
  constructor(i) {
97
96
  super(), S(
98
97
  this,
@@ -121,5 +120,5 @@ class Q extends X {
121
120
  }
122
121
  }
123
122
  export {
124
- Q as default
123
+ P as Shadow
125
124
  };
@@ -0,0 +1,130 @@
1
+ import { SvelteComponent as b, init as k, safe_not_equal as x, append_styles as R, empty as L, insert as D, noop as g, destroy_each as T, detach as F, onMount as N, element as S, text as O, attr as v, append as z, set_data as C, binding_callbacks as w } from "../../../vendor/svelte/internal/index.js";
2
+ import p from "animejs";
3
+ import { notNil as A } from "../../../shared-utils/isNil.js";
4
+ import "three";
5
+ import { searchFirstValueSmallThanLastValue as J } from "../../utils/search.js";
6
+ import { RANDON_STRING as E } from "../../utils/constants.js";
7
+ function P(o) {
8
+ R(o, "svelte-zgfkts", ".text-char.svelte-zgfkts{text-shadow:0.125rem 0rem 0.5rem rgba(0, 0, 0, 0.15)}");
9
+ }
10
+ function y(o, i, l) {
11
+ const e = o.slice();
12
+ return e[10] = i[l], e[11] = i, e[12] = l, e;
13
+ }
14
+ function j(o) {
15
+ let i, l = o[10] + "", e, t = o[12];
16
+ const s = () => o[6](i, t), n = () => o[6](null, t);
17
+ return {
18
+ c() {
19
+ i = S("span"), e = O(l), v(i, "class", "text-char svelte-zgfkts");
20
+ },
21
+ m(r, f) {
22
+ D(r, i, f), z(i, e), s();
23
+ },
24
+ p(r, f) {
25
+ o = r, f & 2 && l !== (l = o[10] + "") && C(e, l), t !== o[12] && (n(), t = o[12], s());
26
+ },
27
+ d(r) {
28
+ r && F(i), n();
29
+ }
30
+ };
31
+ }
32
+ function U(o) {
33
+ let i, l = o[1], e = [];
34
+ for (let t = 0; t < l.length; t += 1)
35
+ e[t] = j(y(o, l, t));
36
+ return {
37
+ c() {
38
+ for (let t = 0; t < e.length; t += 1)
39
+ e[t].c();
40
+ i = L();
41
+ },
42
+ m(t, s) {
43
+ for (let n = 0; n < e.length; n += 1)
44
+ e[n].m(t, s);
45
+ D(t, i, s);
46
+ },
47
+ p(t, [s]) {
48
+ if (s & 3) {
49
+ l = t[1];
50
+ let n;
51
+ for (n = 0; n < l.length; n += 1) {
52
+ const r = y(t, l, n);
53
+ e[n] ? e[n].p(r, s) : (e[n] = j(r), e[n].c(), e[n].m(i.parentNode, i));
54
+ }
55
+ for (; n < e.length; n += 1)
56
+ e[n].d(1);
57
+ e.length = l.length;
58
+ }
59
+ },
60
+ i: g,
61
+ o: g,
62
+ d(t) {
63
+ T(e, t), t && F(i);
64
+ }
65
+ };
66
+ }
67
+ function V(o, i, l) {
68
+ let e, { inDelay: t = 0 } = i, { outDelay: s = 0 } = i, { content: n } = i, { unfolded: r } = i, f, c = [], u;
69
+ function I(a) {
70
+ clearTimeout(f), f = setTimeout(
71
+ function() {
72
+ !u || (a && u.reversed || !a && !u.reversed) && (u.reverse(), u.play());
73
+ },
74
+ a ? t : s
75
+ );
76
+ }
77
+ N(function() {
78
+ const a = (() => {
79
+ const _ = J((m) => c[m].getBoundingClientRect().x, [Math.min(c.length - 1, 10), Math.min(c.length - 1, 30)]);
80
+ if (_ > 0)
81
+ return _;
82
+ })();
83
+ u = p({
84
+ targets: c.slice(0, a).filter(A),
85
+ autoplay: !1,
86
+ duration: 400,
87
+ scale: [0.7, 1],
88
+ rotate: [20, 0],
89
+ opacity: [0, 1],
90
+ translateX: [4, 0],
91
+ translateY: [10, 0],
92
+ delay: p.stagger(50),
93
+ easing: "easeInOutCubic"
94
+ }), r && u.seek(u.duration);
95
+ });
96
+ function M(a, _) {
97
+ w[a ? "unshift" : "push"](() => {
98
+ c[_] = a, l(0, c);
99
+ });
100
+ }
101
+ return o.$$set = (a) => {
102
+ "inDelay" in a && l(2, t = a.inDelay), "outDelay" in a && l(3, s = a.outDelay), "content" in a && l(4, n = a.content), "unfolded" in a && l(5, r = a.unfolded);
103
+ }, o.$$.update = () => {
104
+ o.$$.dirty & 16 && l(1, e = (() => {
105
+ const a = [], _ = new RegExp(new RegExp("\\p{Regional_Indicator}\\p{Regional_Indicator}|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?(\\u200D\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?)+|\\p{Emoji_Presentation}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)?|\\p{Emoji}(\\p{Emoji_Modifier}+|\\uFE0F\\u20E3?)", "gu")), m = `__EMOJI_SPLIT_${E}__`, h = `__EMOJI_${E}__`;
106
+ return n.slice().replace(_, (d) => `${m}${h}${d}${m}`).split(m).forEach((d) => d.startsWith(h) ? a.push(d.slice(h.length)) : a.push(...d.split(""))), a;
107
+ })()), o.$$.dirty & 32 && I(r);
108
+ }, [c, e, t, s, n, r, M];
109
+ }
110
+ class H extends b {
111
+ constructor(i) {
112
+ super(), k(
113
+ this,
114
+ i,
115
+ V,
116
+ U,
117
+ x,
118
+ {
119
+ inDelay: 2,
120
+ outDelay: 3,
121
+ content: 4,
122
+ unfolded: 5
123
+ },
124
+ P
125
+ );
126
+ }
127
+ }
128
+ export {
129
+ H as Text
130
+ };
@@ -0,0 +1,131 @@
1
+ import { SvelteComponent as O, init as P, safe_not_equal as Q, append_styles as V, empty as X, insert as J, transition_in as v, group_outros as Y, transition_out as _, check_outros as Z, detach as K, element as c, create_component as D, space as T, attr as $, set_style as A, add_render_callback as x, toggle_class as G, mount_component as I, append as m, add_resize_listener as ee, listen as te, destroy_component as M } from "../../../vendor/svelte/internal/index.js";
2
+ import { uuid as ie } from "../../../shared-utils/uuid.js";
3
+ import "animejs";
4
+ import "three";
5
+ import "../../utils/constants.js";
6
+ import { Shadow as ne } from "../Common/Shadow.js";
7
+ import { Audio as oe } from "../Common/Audio.js";
8
+ import { Straight as le } from "../Common/Line/Straight.js";
9
+ import { MultiLineText as se } from "../Common/MultiLineText.js";
10
+ function re(e) {
11
+ V(e, "svelte-4r8s18", ".audio-tag.svelte-4r8s18.svelte-4r8s18{position:absolute;left:0;top:0;width:0;height:0;overflow:visible}.line.svelte-4r8s18.svelte-4r8s18{display:flex;position:absolute;top:0;left:0;width:10.125rem;height:0.0625rem;transform:translate3d(0, -50%, 0.625rem)}.content.svelte-4r8s18.svelte-4r8s18{width:-moz-max-content;width:max-content;height:3.375rem;padding:2.25rem 0.25rem 0 1rem;position:absolute;left:0;bottom:0.125rem;overflow:hidden;box-sizing:border-box;font-size:0;white-space:nowrap;font-weight:600}.wrapper.svelte-4r8s18.svelte-4r8s18{position:relative;width:100%;height:100%}.audio-icon.svelte-4r8s18.svelte-4r8s18{vertical-align:top;display:inline-block;width:1rem;height:1rem;margin-right:0.25rem;margin-top:0.0625rem}.unfolded.svelte-4r8s18 .audio-icon.svelte-4r8s18{pointer-events:auto}");
12
+ }
13
+ function H(e) {
14
+ var W, q, L, N;
15
+ let o, l, i, n, s, p, a, f, h, u, k, d, g, C, w, U, R;
16
+ return l = new ne({
17
+ props: {
18
+ visible: e[5],
19
+ left: e[2] / 2 + "px",
20
+ bottom: 12,
21
+ width: 2,
22
+ blurRadius: 120,
23
+ spreadRadius: 60
24
+ }
25
+ }), s = new le({
26
+ props: {
27
+ unfolded: e[5],
28
+ duration: 1e3,
29
+ outDelay: e[4] + 20 * Math.min((q = (W = e[3][0]) == null ? void 0 : W.content.length) != null ? q : 10, 15)
30
+ }
31
+ }), u = new oe({
32
+ props: {
33
+ unfolded: e[5],
34
+ url: e[0].data.audioUrl,
35
+ duration: 1e3,
36
+ outDelay: 20 * Math.min((N = (L = e[3][0]) == null ? void 0 : L.content.length) != null ? N : 10, 15),
37
+ hooksInfo: { tag: e[0] }
38
+ }
39
+ }), g = new se({
40
+ props: {
41
+ visible: e[5],
42
+ textUnfolded: e[1],
43
+ textItems: e[3]
44
+ }
45
+ }), {
46
+ c() {
47
+ o = c("div"), D(l.$$.fragment), i = T(), n = c("div"), D(s.$$.fragment), p = T(), a = c("div"), f = c("div"), h = c("div"), D(u.$$.fragment), k = T(), d = c("div"), D(g.$$.fragment), $(n, "class", "line svelte-4r8s18"), A(n, "width", e[2] + "px"), $(h, "class", "audio-icon svelte-4r8s18"), A(d, "display", "inline-block"), $(f, "class", "wrapper svelte-4r8s18"), $(a, "class", "content svelte-4r8s18"), x(() => e[8].call(a)), $(o, "class", "audio-tag svelte-4r8s18"), G(o, "unfolded", e[5]);
48
+ },
49
+ m(t, r) {
50
+ J(t, o, r), I(l, o, null), m(o, i), m(o, n), I(s, n, null), m(o, p), m(o, a), m(a, f), m(f, h), I(u, h, null), m(f, k), m(f, d), I(g, d, null), C = ee(a, e[8].bind(a)), w = !0, U || (R = te(d, "click", e[6]), U = !0);
51
+ },
52
+ p(t, r) {
53
+ var j, B, E, F;
54
+ const y = {};
55
+ r & 32 && (y.visible = t[5]), r & 4 && (y.left = t[2] / 2 + "px"), l.$set(y);
56
+ const S = {};
57
+ r & 32 && (S.unfolded = t[5]), r & 24 && (S.outDelay = t[4] + 20 * Math.min((B = (j = t[3][0]) == null ? void 0 : j.content.length) != null ? B : 10, 15)), s.$set(S), r & 4 && A(n, "width", t[2] + "px");
58
+ const b = {};
59
+ r & 32 && (b.unfolded = t[5]), r & 1 && (b.url = t[0].data.audioUrl), r & 8 && (b.outDelay = 20 * Math.min((F = (E = t[3][0]) == null ? void 0 : E.content.length) != null ? F : 10, 15)), r & 1 && (b.hooksInfo = { tag: t[0] }), u.$set(b);
60
+ const z = {};
61
+ r & 32 && (z.visible = t[5]), r & 2 && (z.textUnfolded = t[1]), r & 8 && (z.textItems = t[3]), g.$set(z), (!w || r & 32) && G(o, "unfolded", t[5]);
62
+ },
63
+ i(t) {
64
+ w || (v(l.$$.fragment, t), v(s.$$.fragment, t), v(u.$$.fragment, t), v(g.$$.fragment, t), w = !0);
65
+ },
66
+ o(t) {
67
+ _(l.$$.fragment, t), _(s.$$.fragment, t), _(u.$$.fragment, t), _(g.$$.fragment, t), w = !1;
68
+ },
69
+ d(t) {
70
+ t && K(o), M(l), M(s), M(u), M(g), C(), U = !1, R();
71
+ }
72
+ };
73
+ }
74
+ function ae(e) {
75
+ let o, l, i = e[0].state && H(e);
76
+ return {
77
+ c() {
78
+ i && i.c(), o = X();
79
+ },
80
+ m(n, s) {
81
+ i && i.m(n, s), J(n, o, s), l = !0;
82
+ },
83
+ p(n, [s]) {
84
+ n[0].state ? i ? (i.p(n, s), s & 1 && v(i, 1)) : (i = H(n), i.c(), v(i, 1), i.m(o.parentNode, o)) : i && (Y(), _(i, 1, 1, () => {
85
+ i = null;
86
+ }), Z());
87
+ },
88
+ i(n) {
89
+ l || (v(i), l = !0);
90
+ },
91
+ o(n) {
92
+ _(i), l = !1;
93
+ },
94
+ d(n) {
95
+ i && i.d(n), n && K(o);
96
+ }
97
+ };
98
+ }
99
+ function de(e, o, l) {
100
+ let i, n, s, { tag: p } = o, a = !1, f, h = [];
101
+ function u() {
102
+ l(1, a = !a);
103
+ }
104
+ function k() {
105
+ f = this.clientWidth, l(2, f);
106
+ }
107
+ return e.$$set = (d) => {
108
+ "tag" in d && l(0, p = d.tag);
109
+ }, e.$$.update = () => {
110
+ var d;
111
+ e.$$.dirty & 1 && l(5, i = !!((d = p.state) != null && d.unfolded)), e.$$.dirty & 1 && l(7, n = p.data.text), e.$$.dirty & 128 && l(3, h = [{ id: ie(), content: n }]), e.$$.dirty & 2 && l(4, s = a ? 450 : 0);
112
+ }, [
113
+ p,
114
+ a,
115
+ f,
116
+ h,
117
+ s,
118
+ i,
119
+ u,
120
+ n,
121
+ k
122
+ ];
123
+ }
124
+ class we extends O {
125
+ constructor(o) {
126
+ super(), P(this, o, de, ae, Q, { tag: 0 }, re);
127
+ }
128
+ }
129
+ export {
130
+ we as AudioTag
131
+ };
@@ -1,18 +1,18 @@
1
- import { SvelteComponent as u, init as d, safe_not_equal as _, append_styles as p, element as g, attr as v, insert as m, noop as f, detach as r, onMount as h, onDestroy as k, empty as b, binding_callbacks as y, HtmlTag as C } from "../../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as u, init as _, safe_not_equal as d, append_styles as p, element as g, attr as v, insert as a, noop as f, detach as r, onMount as h, onDestroy as k, empty as b, binding_callbacks as y, HtmlTag as C } from "../../../vendor/svelte/internal/index.js";
2
2
  function j(i) {
3
3
  p(i, "svelte-kzl2aj", ".customElement__container.svelte-kzl2aj{position:relative}");
4
4
  }
5
- function a(i) {
5
+ function m(i) {
6
6
  let l, e = i[0].element + "", n;
7
7
  return {
8
8
  c() {
9
9
  l = new C(!1), n = b(), l.a = n;
10
10
  },
11
- m(t, s) {
12
- l.m(e, t, s), m(t, n, s);
11
+ m(t, o) {
12
+ l.m(e, t, o), a(t, n, o);
13
13
  },
14
- p(t, s) {
15
- s & 1 && e !== (e = t[0].element + "") && l.p(e);
14
+ p(t, o) {
15
+ o & 1 && e !== (e = t[0].element + "") && l.p(e);
16
16
  },
17
17
  d(t) {
18
18
  t && r(n), t && l.d();
@@ -20,16 +20,16 @@ function a(i) {
20
20
  };
21
21
  }
22
22
  function z(i) {
23
- let l, e = typeof i[0].element == "string" && a(i);
23
+ let l, e = typeof i[0].element == "string" && m(i);
24
24
  return {
25
25
  c() {
26
26
  l = g("div"), e && e.c(), v(l, "class", "customElement__container svelte-kzl2aj");
27
27
  },
28
28
  m(n, t) {
29
- m(n, l, t), e && e.m(l, null), i[2](l);
29
+ a(n, l, t), e && e.m(l, null), i[2](l);
30
30
  },
31
31
  p(n, [t]) {
32
- typeof n[0].element == "string" ? e ? e.p(n, t) : (e = a(n), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
32
+ typeof n[0].element == "string" ? e ? e.p(n, t) : (e = m(n), e.c(), e.m(l, null)) : e && (e.d(1), e = null);
33
33
  },
34
34
  i: f,
35
35
  o: f,
@@ -39,34 +39,34 @@ function z(i) {
39
39
  };
40
40
  }
41
41
  function E(i, l, e) {
42
- let { tag: n } = l, t, s;
42
+ let { tag: n } = l, t, o;
43
43
  h(() => {
44
44
  if (t) {
45
45
  if (n.element instanceof Element) {
46
- const o = n.element;
47
- t.appendChild(o), s = () => t == null ? void 0 : t.removeChild(o);
46
+ const s = n.element;
47
+ t.appendChild(s), o = () => t == null ? void 0 : t.removeChild(s);
48
48
  } else if (typeof n.element == "function") {
49
- const o = n.element;
50
- s = o(t);
49
+ const s = n.element;
50
+ o = s(t);
51
51
  }
52
52
  }
53
53
  }), k(() => {
54
- s == null || s();
54
+ o == null || o();
55
55
  });
56
- function c(o) {
57
- y[o ? "unshift" : "push"](() => {
58
- t = o, e(1, t);
56
+ function c(s) {
57
+ y[s ? "unshift" : "push"](() => {
58
+ t = s, e(1, t);
59
59
  });
60
60
  }
61
- return i.$$set = (o) => {
62
- "tag" in o && e(0, n = o.tag);
61
+ return i.$$set = (s) => {
62
+ "tag" in s && e(0, n = s.tag);
63
63
  }, [n, t, c];
64
64
  }
65
65
  class q extends u {
66
66
  constructor(l) {
67
- super(), d(this, l, E, z, _, { tag: 0 }, j);
67
+ super(), _(this, l, E, z, d, { tag: 0 }, j);
68
68
  }
69
69
  }
70
70
  export {
71
- q as default
71
+ q as CustomTag
72
72
  };