@realsee/dnalogel 2.3.5-dev.7 → 2.3.6-alpha.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 (425) hide show
  1. package/dist/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  2. package/dist/CruisePlugin/typing.d.ts +4 -0
  3. package/dist/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  4. package/dist/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  5. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
  6. package/dist/PanoTagPlugin/controller/index.d.ts +13 -16
  7. package/dist/PanoTagPlugin/index.d.ts +1 -1
  8. package/dist/PanoTagPlugin/typings/controller.d.ts +11 -13
  9. package/dist/PanoTagPlugin/typings/index.d.ts +1 -5
  10. package/dist/PanoTagPlugin/typings/tag.d.ts +247 -0
  11. package/dist/index.cjs.js +51 -51
  12. package/dist/index.js +6419 -7315
  13. package/dist/index.umd.js +49 -49
  14. package/docs/assets/search.js +1 -1
  15. package/docs/classes/CSS3DRender.html +31 -31
  16. package/docs/classes/CruisePluginController.html +26 -26
  17. package/docs/classes/Magnifier.html +16 -16
  18. package/docs/classes/ModelRoomLabelController.html +11 -11
  19. package/docs/classes/Object3DHelperController.html +24 -24
  20. package/docs/classes/PaintBrush.html +15 -15
  21. package/docs/classes/PanoTagPluginController.html +164 -213
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.FivePointSelector.html +12 -12
  24. package/docs/classes/Util.Interval.html +12 -12
  25. package/docs/classes/Util.Magnifier.html +17 -17
  26. package/docs/classes/Util.PointDomHelper.html +11 -11
  27. package/docs/classes/Util.PointHelper.html +11 -11
  28. package/docs/classes/Util.Rectangle.html +13 -13
  29. package/docs/enums/CameraMovementEffect.html +7 -7
  30. package/docs/enums/ContentType.html +35 -75
  31. package/docs/enums/DIRECTION.html +9 -9
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  33. package/docs/enums/DimensionType.html +15 -19
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  36. package/docs/{interfaces/AddTagConfig.html → enums/LinkType.html} +23 -20
  37. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  38. package/docs/enums/PointType.html +15 -19
  39. package/docs/enums/Rotation.html +8 -8
  40. package/docs/functions/CSS3DRenderPlugin.html +13 -36
  41. package/docs/functions/CameraMovementPlugin.html +13 -36
  42. package/docs/functions/CruisePlugin.html +13 -36
  43. package/docs/functions/GuideLinePlugin.html +14 -37
  44. package/docs/functions/ItemLabelPlugin.html +13 -36
  45. package/docs/functions/MapviewFloorplanPlugin.html +13 -36
  46. package/docs/functions/ModelChassisCompassPlugin.html +13 -36
  47. package/docs/functions/ModelEntryDoorGuidePlugin.html +13 -36
  48. package/docs/functions/ModelFloorplanPlugin.html +13 -36
  49. package/docs/functions/ModelItemLabelPlugin.html +13 -36
  50. package/docs/functions/ModelRoomLabelPlugin.html +13 -36
  51. package/docs/functions/ModelTVVideoPlugin.html +13 -36
  52. package/docs/functions/ModelViewPlugin.html +13 -36
  53. package/docs/functions/Object3DHelperPlugin.html +13 -36
  54. package/docs/functions/PanoCompassPlugin.html +13 -36
  55. package/docs/functions/PanoCursorRaycasterPlugin.html +13 -36
  56. package/docs/functions/PanoDoorLabelPlugin.html +13 -36
  57. package/docs/functions/PanoFloorplanRadarPlugin.html +13 -36
  58. package/docs/functions/PanoMeasurePlugin.html +13 -36
  59. package/docs/functions/PanoRulerPlugin.html +13 -36
  60. package/docs/functions/PanoRulerProPlugin.html +13 -36
  61. package/docs/functions/PanoSpatialTagPlugin.html +13 -36
  62. package/docs/functions/PanoTagPlugin.html +23 -42
  63. package/docs/functions/TopviewFloorplanPlugin.html +13 -36
  64. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  65. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  66. package/docs/functions/Util.getFrameTime.html +5 -5
  67. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  68. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  69. package/docs/functions/Util.isNil.html +5 -5
  70. package/docs/functions/Util.nextFrame.html +5 -5
  71. package/docs/functions/Util.notNil.html +5 -5
  72. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  73. package/docs/functions/Util.tweenProgress.html +5 -5
  74. package/docs/functions/pluginFlag.html +14 -37
  75. package/docs/index.html +13 -36
  76. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  77. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  78. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  79. package/docs/interfaces/ContentTypeMap.html +212 -0
  80. package/docs/interfaces/FloorplanBounding.html +8 -8
  81. package/docs/interfaces/FloorplanData.html +10 -10
  82. package/docs/interfaces/FloorplanEntrance.html +11 -11
  83. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  84. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  85. package/docs/interfaces/FloorplanFloorData.html +9 -9
  86. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  87. package/docs/interfaces/FloorplanObserver.html +9 -9
  88. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  89. package/docs/interfaces/FloorplanPosition.html +7 -7
  90. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  91. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  92. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  93. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  94. package/docs/interfaces/FloorplanServerData.html +7 -7
  95. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  96. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  97. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  98. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  99. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  100. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  101. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  102. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  103. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  104. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  105. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  106. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  107. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  108. package/docs/interfaces/LineJson.html +7 -7
  109. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  110. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  111. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  112. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  113. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  114. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  115. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  116. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  117. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  118. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  119. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  120. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  121. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  122. package/docs/interfaces/Object3DHelperState.html +8 -8
  123. package/docs/interfaces/OpenParameter.html +7 -7
  124. package/docs/interfaces/PaintBrushAction.html +12 -12
  125. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  126. package/docs/interfaces/PaintBrushState.html +10 -10
  127. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  128. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +14 -37
  129. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  130. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  131. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  132. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  133. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  134. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  135. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  136. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  137. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +14 -37
  138. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +14 -37
  139. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  140. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  141. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  142. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  143. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  144. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  145. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  146. package/docs/interfaces/Point.html +8 -8
  147. package/docs/interfaces/PointJson.html +8 -8
  148. package/docs/interfaces/Room.html +9 -9
  149. package/docs/interfaces/RoomInfo.html +7 -7
  150. package/docs/interfaces/RoomLabel.html +14 -14
  151. package/docs/interfaces/RoomRules.html +14 -37
  152. package/docs/interfaces/Rooms.html +14 -37
  153. package/docs/interfaces/Scissor.html +9 -9
  154. package/docs/interfaces/TagConfig.html +19 -15
  155. package/docs/interfaces/Tags.html +12 -14
  156. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  157. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  158. package/docs/modules/Util.html +5 -5
  159. package/docs/modules.html +21 -67
  160. package/docs/types/ArrayPosition.html +15 -38
  161. package/docs/types/CSS3DRenderExportType.html +14 -37
  162. package/docs/types/CSS3DRenderPluginExportType.html +14 -37
  163. package/docs/types/CSS3DRenderPluginParameterType.html +14 -37
  164. package/docs/types/Color.html +14 -37
  165. package/docs/types/ContentTypeConfigKey.html +15 -38
  166. package/docs/types/{WorkCode.html → ContentTypeConfigKeyArray.html} +17 -40
  167. package/docs/types/Create3DDomContainerReturnType.html +14 -37
  168. package/docs/types/Create3DElementReturnType.html +14 -37
  169. package/docs/types/CruisePluginExportType.html +14 -37
  170. package/docs/types/Direction-1.html +14 -37
  171. package/docs/types/Direction4.html +14 -37
  172. package/docs/types/FloorplanRuleLabels.html +14 -37
  173. package/docs/types/FloorplanServerRuleLabels.html +14 -37
  174. package/docs/types/GuideLinePluginExportType.html +14 -37
  175. package/docs/types/HelperEventMap.html +14 -37
  176. package/docs/types/MapviewFloorplanPluginParameterType.html +14 -37
  177. package/docs/types/MapviewFloorplanPluginReturnType.html +14 -37
  178. package/docs/types/MediaData.html +14 -37
  179. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +14 -37
  180. package/docs/types/ModelFloorplanPluginParameterType.html +14 -37
  181. package/docs/types/ModelFloorplanPluginReturnType.html +14 -37
  182. package/docs/types/ModelRoomLabelPluginParameters.html +14 -37
  183. package/docs/types/ModelRoomLabelPluginReturnType.html +14 -37
  184. package/docs/types/MoveArgs.html +14 -37
  185. package/docs/types/MoveOpts.html +14 -37
  186. package/docs/types/Object3DHelperEventMap.html +14 -37
  187. package/docs/types/ObjectFit.html +14 -37
  188. package/docs/types/PaintBrushEventMap.html +14 -37
  189. package/docs/types/PanoCompassPluginData.html +14 -37
  190. package/docs/types/PanoCompassPluginExportType.html +14 -37
  191. package/docs/types/PanoCompassPluginParameterType.html +14 -37
  192. package/docs/types/PanoFloorplanRadarPluginParameterType.html +14 -37
  193. package/docs/types/PanoFloorplanRadarPluginReturnType.html +14 -37
  194. package/docs/types/PanoMeasurePluginEvent.html +14 -37
  195. package/docs/types/PanoMeasureReturnType.html +14 -37
  196. package/docs/types/PanoSpatialTagPluginId.html +14 -37
  197. package/docs/types/PanoTagPluginExportInterface.html +14 -37
  198. package/docs/types/PanoTagPluginParamsInterface.html +14 -37
  199. package/docs/types/PlaneTag.html +19 -40
  200. package/docs/types/PointTag.html +23 -40
  201. package/docs/types/Position.html +14 -37
  202. package/docs/types/RotateArgs.html +14 -37
  203. package/docs/types/RotateOpts.html +14 -37
  204. package/docs/types/RuleLabelsKey.html +14 -37
  205. package/docs/types/RuleLabelsValue.html +14 -37
  206. package/docs/types/Tag.html +22 -41
  207. package/docs/types/Tag2D.html +20 -42
  208. package/docs/types/Tag3D.html +20 -42
  209. package/docs/types/TagId.html +14 -37
  210. package/docs/types/TopviewFloorplanPluginParameterType.html +14 -37
  211. package/docs/types/TopviewFloorplanPluginReturnType.html +14 -37
  212. package/docs/variables/FLOOR_TYPE_MAP.html +14 -37
  213. package/docs/variables/PLUGIN.html +14 -37
  214. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +14 -37
  215. package/docs/variables/ROOM_TYPE_MAP.html +14 -37
  216. package/docs/variables/VERSION.html +14 -37
  217. package/docs/variables/itemLabelPluginServerParams.html +14 -37
  218. package/docs/variables/modelItemLabelPluginServerParams.html +14 -37
  219. package/docs/variables/modelRoomLabelPluginServerParams.html +14 -37
  220. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  221. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  222. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  223. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  224. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  225. package/libs/CSS3DRenderPlugin/utils/index.js +0 -12
  226. package/libs/CSS3DRenderPlugin/utils/positionToVector3.d.ts +2 -2
  227. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +3 -4
  228. package/libs/CSS3DRenderPlugin/utils/random.js +1 -6
  229. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +2 -3
  230. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +1 -2
  231. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +4 -6
  232. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  233. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  234. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  235. package/libs/CruisePlugin/Controller.js +146 -143
  236. package/libs/CruisePlugin/typing.d.ts +4 -0
  237. package/libs/CruisePlugin/utils/coordinatesAngle.js +2 -3
  238. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  239. package/libs/GuideLinePlugin/Controller.js +1 -1
  240. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  241. package/libs/Object3DHelperPlugin/Controller.js +36 -38
  242. package/libs/PanoMeasurePlugin/Controller/BaseController.js +15 -25
  243. package/libs/PanoMeasurePlugin/Controller/EditController.js +9 -21
  244. package/libs/PanoMeasurePlugin/Controller/MixedController.js +10 -23
  245. package/libs/PanoMeasurePlugin/Controller/ViewController.js +14 -25
  246. package/libs/PanoMeasurePlugin/Controller/WatchController.js +29 -44
  247. package/libs/PanoMeasurePlugin/Controller/index.js +21 -58
  248. package/libs/PanoMeasurePlugin/Model/index.js +40 -47
  249. package/libs/PanoMeasurePlugin/Model/line.js +11 -15
  250. package/libs/PanoMeasurePlugin/Model/point.js +5 -5
  251. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  252. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  253. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  254. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  255. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  256. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  257. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  258. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  259. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  260. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  261. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +16 -24
  262. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +3 -4
  263. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +5 -8
  264. package/libs/PanoMeasurePlugin/index.js +2 -2
  265. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  266. package/libs/PanoMeasurePlugin/utils/constants.js +16 -15
  267. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  268. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +6 -7
  269. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  270. package/libs/PanoMeasurePlugin/utils/line.js +0 -1
  271. package/libs/PanoMeasurePlugin/utils/math.js +1 -2
  272. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  273. package/libs/PanoSpatialTagPlugin/Components/origins.js +2 -3
  274. package/libs/PanoSpatialTagPlugin/Components/tag.js +2 -3
  275. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  276. package/libs/PanoTagPlugin/Assets/Icon.d.ts +2 -3
  277. package/libs/PanoTagPlugin/Assets/Icon.js +3 -4
  278. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  279. package/libs/PanoTagPlugin/Components/Common/Audio.js +132 -137
  280. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +30 -30
  281. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +59 -95
  282. package/libs/PanoTagPlugin/Components/Common/Media.js +205 -231
  283. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +80 -109
  284. package/libs/PanoTagPlugin/Components/Common/MultiLineText.js +170 -0
  285. package/libs/PanoTagPlugin/Components/Common/Point/CustomPoint.js +50 -0
  286. package/libs/PanoTagPlugin/Components/Common/Point/DefaultPoint.js +50 -0
  287. package/libs/PanoTagPlugin/Components/Common/Point/PointSwitch.js +166 -0
  288. package/libs/PanoTagPlugin/Components/Common/Shadow.js +9 -10
  289. package/libs/PanoTagPlugin/Components/Common/Text.js +130 -0
  290. package/libs/PanoTagPlugin/Components/Tag/AudioTag.js +131 -0
  291. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  292. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +130 -122
  293. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +96 -58
  294. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +3 -5
  295. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +54 -75
  296. package/libs/PanoTagPlugin/Components/Tag/TextTag.js +122 -0
  297. package/libs/PanoTagPlugin/Components/Tag/index.js +145 -182
  298. package/libs/PanoTagPlugin/Components/TagContainer.js +109 -144
  299. package/libs/PanoTagPlugin/Components/TagWrapper.js +152 -0
  300. package/libs/PanoTagPlugin/controller/TagCacheController.d.ts +2 -1
  301. package/libs/PanoTagPlugin/controller/TagCacheController.js +2 -3
  302. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +14 -16
  303. package/libs/PanoTagPlugin/controller/TagComputer.js +150 -173
  304. package/libs/PanoTagPlugin/controller/index.d.ts +13 -16
  305. package/libs/PanoTagPlugin/controller/index.js +165 -238
  306. package/libs/PanoTagPlugin/index.d.ts +1 -1
  307. package/libs/PanoTagPlugin/index.js +21 -32
  308. package/libs/PanoTagPlugin/tag.config.js +16 -23
  309. package/libs/PanoTagPlugin/typings/controller.d.ts +11 -13
  310. package/libs/PanoTagPlugin/typings/index.d.ts +1 -5
  311. package/libs/PanoTagPlugin/typings/index.js +1 -7
  312. package/libs/PanoTagPlugin/typings/tag.d.ts +247 -0
  313. package/libs/PanoTagPlugin/typings/tag.js +7 -0
  314. package/libs/PanoTagPlugin/utils/constants.js +1 -2
  315. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  316. package/libs/PanoTagPlugin/utils/index.js +0 -35
  317. package/libs/PanoTagPlugin/utils/search.js +9 -27
  318. package/libs/PanoTagPlugin/utils/tagPosition.js +2 -2
  319. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  320. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +6 -10
  321. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  322. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +74 -83
  323. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  324. package/libs/index.js +101 -112
  325. package/libs/shared-utils/Object3DHelper/Helper/RectangleScaleHelper.js +20 -17
  326. package/libs/vendor/svelte/internal/index.js +341 -381
  327. package/package.json +3 -3
  328. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  329. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  330. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  331. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
  332. package/dist/PanoTagPlugin/utils/color.d.ts +0 -7
  333. package/dist/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  334. package/dist/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  335. package/dist/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  336. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  337. package/dist/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  338. package/docs/interfaces/EventMap.html +0 -298
  339. package/docs/interfaces/MinMax.html +0 -71
  340. package/docs/interfaces/State.html +0 -89
  341. package/docs/interfaces/TagCache.html +0 -92
  342. package/docs/interfaces/TagIconUrl.html +0 -91
  343. package/docs/interfaces/TemporaryState.html +0 -64
  344. package/docs/types/ContentTypeMap.html +0 -248
  345. package/docs/types/LoadTagConfig.html +0 -248
  346. package/docs/types/MediaStore.html +0 -248
  347. package/docs/types/PanoIndex.html +0 -248
  348. package/docs/types/PlaneTagElement.html +0 -253
  349. package/docs/types/Point2DElement.html +0 -253
  350. package/docs/types/Point2DTag.html +0 -255
  351. package/docs/types/Point3DElement.html +0 -253
  352. package/docs/types/Point3DTag.html +0 -255
  353. package/docs/types/PointTagElement.html +0 -253
  354. package/docs/types/StickType.html +0 -248
  355. package/docs/types/TagContentType.html +0 -248
  356. package/docs/types/TagDimensionType.html +0 -248
  357. package/docs/types/TagElement.html +0 -255
  358. package/docs/types/TagEvents.html +0 -283
  359. package/docs/types/TagHooks.html +0 -248
  360. package/docs/types/TagIconSize.html +0 -251
  361. package/docs/types/TagPointType.html +0 -251
  362. package/libs/GuideLinePlugin/utils/getPoint.d.ts +0 -3
  363. package/libs/GuideLinePlugin/utils/getPoint.js +0 -18
  364. package/libs/PanoMeasurePlugin/typings/data.js +0 -1
  365. package/libs/PanoMeasurePlugin/typings/event.type.js +0 -1
  366. package/libs/PanoMeasurePlugin/typings/index.js +0 -1
  367. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +0 -1
  368. package/libs/PanoMeasurePlugin/typings/utils.type.js +0 -1
  369. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +0 -2
  370. package/libs/PanoMeasurePlugin/utils/clearGroup.js +0 -6
  371. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +0 -175
  372. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +0 -110
  373. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +0 -81
  374. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +0 -145
  375. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +0 -147
  376. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +0 -166
  377. package/libs/PanoTagPlugin/Components/Common/TextItem.js +0 -106
  378. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +0 -213
  379. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +0 -215
  380. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +0 -120
  381. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +0 -102
  382. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +0 -134
  383. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +0 -115
  384. package/libs/PanoTagPlugin/Components/TagItem.js +0 -187
  385. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +0 -4
  386. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +0 -6
  387. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +0 -93
  388. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +0 -5622
  389. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +0 -1325
  390. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +0 -173
  391. package/libs/PanoTagPlugin/mocks/v1/mock1.js +0 -122
  392. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +0 -233
  393. package/libs/PanoTagPlugin/mocks/v1/mock2.js +0 -296
  394. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +0 -22
  395. package/libs/PanoTagPlugin/mocks/v1/mock3.js +0 -32
  396. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +0 -56
  397. package/libs/PanoTagPlugin/mocks/v1/mock4.js +0 -60
  398. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +0 -13
  399. package/libs/PanoTagPlugin/mocks/v1/mock5.js +0 -17
  400. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +0 -16
  401. package/libs/PanoTagPlugin/mocks/v1/mock6.js +0 -27
  402. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +0 -22
  403. package/libs/PanoTagPlugin/mocks/v1/mock7.js +0 -228
  404. package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +0 -128
  405. package/libs/PanoTagPlugin/mocks/v2/mock1.js +0 -114
  406. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -53
  407. package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
  408. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -88
  409. package/libs/PanoTagPlugin/typings/tag/TagConfig.js +0 -1
  410. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -155
  411. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  412. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -50
  413. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -5
  414. package/libs/PanoTagPlugin/utils/color.d.ts +0 -7
  415. package/libs/PanoTagPlugin/utils/color.js +0 -17
  416. package/libs/PanoTagPlugin/utils/getImageInfo.d.ts +0 -16
  417. package/libs/PanoTagPlugin/utils/getImageInfo.js +0 -51
  418. package/libs/PanoTagPlugin/utils/px2rem.d.ts +0 -1
  419. package/libs/PanoTagPlugin/utils/px2rem.js +0 -6
  420. package/libs/PanoTagPlugin/utils/tag/format.d.ts +0 -2
  421. package/libs/PanoTagPlugin/utils/tag/format.js +0 -18
  422. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +0 -7
  423. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +0 -26
  424. package/libs/PanoTagPlugin/utils/timeToString.d.ts +0 -1
  425. package/libs/PanoTagPlugin/utils/timeToString.js +0 -7
@@ -1,191 +1,156 @@
1
- import { SvelteComponent as S, init as v, safe_not_equal as y, append_styles as A, empty as b, insert as u, transition_in as f, transition_out as c, check_outros as d, detach as h, setContext as q, element as C, attr as z, toggle_class as p, group_outros as w, update_keyed_each as T, outro_and_destroy_block as I, create_component as M, mount_component as N, destroy_component as j } from "../../vendor/svelte/internal/index.js";
2
- import B from "./TagItem.js";
3
- import "./Tag/index.js";
4
- import "./Tag/TextTag/index.js";
5
- import "./Tag/TextTag/TextTag.js";
6
- import "./Common/Line/Straight.js";
7
- import "../../vendor/svelte/transition/index.js";
8
- import "../../vendor/svelte/easing/index.js";
9
- import "../../shared-utils/uuid.js";
10
- import "./Common/Shadow.js";
11
- import "./Common/Text/FlyMText.js";
12
- import "./Common/Text/FlyText.js";
13
- import "animejs";
14
- import "../../shared-utils/isNil.js";
15
- import "three";
16
- import "../utils/search.js";
17
- import "../utils/constants.js";
18
- import "./Common/Arrow.js";
19
- import "../Assets/Icon.js";
20
- import "../utils/doUtil.js";
21
- import "./Tag/TextTag/TextPlaneTag.js";
22
- import "./Common/Text/MText.js";
23
- import "../utils/px2rem.js";
24
- import "./Tag/ImageTextTag.js";
25
- import "./Common/Line/Polyline.js";
26
- import "./Common/Media.js";
27
- import "../../vendor/swiper/svelte/swiper.js";
28
- import "swiper";
29
- import "../../vendor/swiper/components-shared/get-params.js";
30
- import "../../vendor/swiper/components-shared/utils.js";
31
- import "../../vendor/swiper/components-shared/params-list.js";
32
- import "../../vendor/swiper/components-shared/mount-swiper.js";
33
- import "../../vendor/swiper/components-shared/get-changed-params.js";
34
- import "../../vendor/swiper/components-shared/update-swiper.js";
35
- import "../../vendor/swiper/svelte/swiper-slide.js";
36
- import "swiper/css";
37
- import "swiper/css/autoplay";
38
- import "../utils/noTypecheck.js";
39
- import "./Common/MediaItem.js";
40
- import "./Tag/MarketingTag.js";
41
- import "./Tag/AudioTag/index.js";
42
- import "./Tag/AudioTag/AudioTag.js";
43
- import "./Common/Audio.js";
44
- import "./Common/Icon/audioIcon.js";
45
- import "./Tag/AudioTag/AudioPlaneTag.js";
46
- import "../utils/timeToString.js";
47
- import "../utils/color.js";
48
- import "./Tag/MediaPlane.js";
49
- import "./Tag/LinkTag.js";
50
- import "./Common/Icon/Icon.js";
51
- import "../utils/getImageInfo.js";
52
- import "./Tag/CustomTag.js";
53
- import "./Common/TagPoint.js";
54
- function D(l) {
55
- A(l, "svelte-wqbk81", ".tag--container.svelte-wqbk81{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.withAnimation.svelte-wqbk81{transition:opacity 0.3s linear}.tag--container.hide.svelte-wqbk81{opacity:0;pointer-events:none}.tag--container.hide.svelte-wqbk81 *{pointer-events:none}");
1
+ import { SvelteComponent as P, init as z, safe_not_equal as C, append_styles as q, empty as M, insert as g, transition_in as m, transition_out as h, check_outros as S, detach as _, element as w, attr as A, toggle_class as c, group_outros as T, update_keyed_each as N, outro_and_destroy_block as W, assign as j, create_component as B, space as D, mount_component as E, append as F, get_spread_update as G, destroy_component as H } from "../../vendor/svelte/internal/index.js";
2
+ import { TagWrapper as I } from "./TagWrapper.js";
3
+ function J(s) {
4
+ q(s, "svelte-1eci49s", ".tag--container.svelte-1eci49s{box-sizing:border-box;position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;opacity:1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tag.hide.svelte-1eci49s{display:none}.withAnimation.svelte-1eci49s{transition:opacity 0.3s linear}.tag--container.hide.svelte-1eci49s{opacity:0;pointer-events:none}.tag--container.hide.svelte-1eci49s *{pointer-events:none}");
56
5
  }
57
- function _(l, t, o) {
58
- const e = l.slice();
59
- return e[6] = t[o], e;
6
+ function k(s, e, i) {
7
+ const n = s.slice();
8
+ return n[6] = e[i], n;
60
9
  }
61
- function g(l) {
62
- let t, o = [], e = /* @__PURE__ */ new Map(), n, r = l[1];
63
- const s = (i) => i[6].id;
64
- for (let i = 0; i < r.length; i += 1) {
65
- let m = _(l, r, i), a = s(m);
66
- e.set(a, o[i] = k(a, m));
10
+ function v(s) {
11
+ let e, i = [], n = /* @__PURE__ */ new Map(), l, r = s[1];
12
+ const f = (a) => a[6].id;
13
+ for (let a = 0; a < r.length; a += 1) {
14
+ let t = k(s, r, a), o = f(t);
15
+ n.set(o, i[a] = y(o, t));
67
16
  }
68
17
  return {
69
18
  c() {
70
- t = C("div");
71
- for (let i = 0; i < o.length; i += 1)
72
- o[i].c();
73
- z(t, "class", "tag--container svelte-wqbk81"), p(t, "hide", !l[3].visible || !l[4].visible), p(t, "withAnimation", l[0]);
19
+ e = w("div");
20
+ for (let a = 0; a < i.length; a += 1)
21
+ i[a].c();
22
+ A(e, "class", "tag--container svelte-1eci49s"), c(e, "hide", !s[3].visible || !s[5].visible), c(e, "withAnimation", s[0]);
74
23
  },
75
- m(i, m) {
76
- u(i, t, m);
77
- for (let a = 0; a < o.length; a += 1)
78
- o[a].m(t, null);
79
- n = !0;
24
+ m(a, t) {
25
+ g(a, e, t);
26
+ for (let o = 0; o < i.length; o += 1)
27
+ i[o].m(e, null);
28
+ l = !0;
80
29
  },
81
- p(i, m) {
82
- m & 31 && (r = i[1], w(), o = T(o, m, s, 1, i, r, e, t, I, k, null, _), d()), (!n || m & 24) && p(t, "hide", !i[3].visible || !i[4].visible), (!n || m & 1) && p(t, "withAnimation", i[0]);
30
+ p(a, t) {
31
+ t & 63 && (r = a[1], T(), i = N(i, t, f, 1, a, r, n, e, W, y, null, k), S()), (!l || t & 40) && c(e, "hide", !a[3].visible || !a[5].visible), (!l || t & 1) && c(e, "withAnimation", a[0]);
83
32
  },
84
- i(i) {
85
- if (!n) {
86
- for (let m = 0; m < r.length; m += 1)
87
- f(o[m]);
88
- n = !0;
33
+ i(a) {
34
+ if (!l) {
35
+ for (let t = 0; t < r.length; t += 1)
36
+ m(i[t]);
37
+ l = !0;
89
38
  }
90
39
  },
91
- o(i) {
92
- for (let m = 0; m < o.length; m += 1)
93
- c(o[m]);
94
- n = !1;
40
+ o(a) {
41
+ for (let t = 0; t < i.length; t += 1)
42
+ h(i[t]);
43
+ l = !1;
95
44
  },
96
- d(i) {
97
- i && h(t);
98
- for (let m = 0; m < o.length; m += 1)
99
- o[m].d();
45
+ d(a) {
46
+ a && _(e);
47
+ for (let t = 0; t < i.length; t += 1)
48
+ i[t].d();
100
49
  }
101
50
  };
102
51
  }
103
- function k(l, t) {
104
- let o, e, n;
105
- return e = new B({
106
- props: {
107
- state: t[3],
108
- temporaryState: t[4],
109
- withAnimation: t[0],
110
- tag: t[6],
111
- mediaStore: t[2]
52
+ function y(s, e) {
53
+ let i, n, l, r;
54
+ const f = [
55
+ {
56
+ tag: e[6],
57
+ hooks: e[2],
58
+ state: e[3],
59
+ mediaStore: e[4],
60
+ temporaryState: e[5],
61
+ withAnimation: e[0]
112
62
  }
113
- }), {
114
- key: l,
63
+ ];
64
+ let a = {};
65
+ for (let t = 0; t < f.length; t += 1)
66
+ a = j(a, f[t]);
67
+ return n = new I({ props: a }), {
68
+ key: s,
115
69
  first: null,
116
70
  c() {
117
- o = b(), M(e.$$.fragment), this.first = o;
71
+ var t, o, u;
72
+ i = w("div"), B(n.$$.fragment), l = D(), A(i, "class", "tag svelte-1eci49s"), c(i, "hide", !((t = e[6].pointTagStyle) != null && t.leftPercent) || !((o = e[6].pointTagStyle) != null && o.topPercent) || e[6].enabled === !1 || !e[6].state || ((u = e[6].temporaryState) == null ? void 0 : u.visible) === !1), this.first = i;
118
73
  },
119
- m(r, s) {
120
- u(r, o, s), N(e, r, s), n = !0;
74
+ m(t, o) {
75
+ g(t, i, o), E(n, i, null), F(i, l), r = !0;
121
76
  },
122
- p(r, s) {
123
- t = r;
124
- const i = {};
125
- s & 8 && (i.state = t[3]), s & 16 && (i.temporaryState = t[4]), s & 1 && (i.withAnimation = t[0]), s & 2 && (i.tag = t[6]), s & 4 && (i.mediaStore = t[2]), e.$set(i);
77
+ p(t, o) {
78
+ var d, p, b;
79
+ e = t;
80
+ const u = o & 63 ? G(f, [
81
+ {
82
+ tag: e[6],
83
+ hooks: e[2],
84
+ state: e[3],
85
+ mediaStore: e[4],
86
+ temporaryState: e[5],
87
+ withAnimation: e[0]
88
+ }
89
+ ]) : {};
90
+ n.$set(u), (!r || o & 2) && c(i, "hide", !((d = e[6].pointTagStyle) != null && d.leftPercent) || !((p = e[6].pointTagStyle) != null && p.topPercent) || e[6].enabled === !1 || !e[6].state || ((b = e[6].temporaryState) == null ? void 0 : b.visible) === !1);
126
91
  },
127
- i(r) {
128
- n || (f(e.$$.fragment, r), n = !0);
92
+ i(t) {
93
+ r || (m(n.$$.fragment, t), r = !0);
129
94
  },
130
- o(r) {
131
- c(e.$$.fragment, r), n = !1;
95
+ o(t) {
96
+ h(n.$$.fragment, t), r = !1;
132
97
  },
133
- d(r) {
134
- r && h(o), j(e, r);
98
+ d(t) {
99
+ t && _(i), H(n);
135
100
  }
136
101
  };
137
102
  }
138
- function E(l) {
139
- let t, o, e = l[3].enabled && g(l);
103
+ function K(s) {
104
+ let e, i, n = s[3].enabled && v(s);
140
105
  return {
141
106
  c() {
142
- e && e.c(), t = b();
107
+ n && n.c(), e = M();
143
108
  },
144
- m(n, r) {
145
- e && e.m(n, r), u(n, t, r), o = !0;
109
+ m(l, r) {
110
+ n && n.m(l, r), g(l, e, r), i = !0;
146
111
  },
147
- p(n, [r]) {
148
- n[3].enabled ? e ? (e.p(n, r), r & 8 && f(e, 1)) : (e = g(n), e.c(), f(e, 1), e.m(t.parentNode, t)) : e && (w(), c(e, 1, 1, () => {
149
- e = null;
150
- }), d());
112
+ p(l, [r]) {
113
+ l[3].enabled ? n ? (n.p(l, r), r & 8 && m(n, 1)) : (n = v(l), n.c(), m(n, 1), n.m(e.parentNode, e)) : n && (T(), h(n, 1, 1, () => {
114
+ n = null;
115
+ }), S());
151
116
  },
152
- i(n) {
153
- o || (f(e), o = !0);
117
+ i(l) {
118
+ i || (m(n), i = !0);
154
119
  },
155
- o(n) {
156
- c(e), o = !1;
120
+ o(l) {
121
+ h(n), i = !1;
157
122
  },
158
- d(n) {
159
- e && e.d(n), n && h(t);
123
+ d(l) {
124
+ n && n.d(l), l && _(e);
160
125
  }
161
126
  };
162
127
  }
163
- function F(l, t, o) {
164
- let { withAnimation: e = !1 } = t, { tags: n = [] } = t, { hooks: r } = t, { mediaStore: s } = t, { state: i } = t, { temporaryState: m } = t;
165
- return q("hooks", r), l.$$set = (a) => {
166
- "withAnimation" in a && o(0, e = a.withAnimation), "tags" in a && o(1, n = a.tags), "hooks" in a && o(5, r = a.hooks), "mediaStore" in a && o(2, s = a.mediaStore), "state" in a && o(3, i = a.state), "temporaryState" in a && o(4, m = a.temporaryState);
167
- }, [e, n, s, i, m, r];
128
+ function L(s, e, i) {
129
+ let { withAnimation: n = !1 } = e, { tags: l = [] } = e, { hooks: r } = e, { state: f } = e, { mediaStore: a } = e, { temporaryState: t } = e;
130
+ return s.$$set = (o) => {
131
+ "withAnimation" in o && i(0, n = o.withAnimation), "tags" in o && i(1, l = o.tags), "hooks" in o && i(2, r = o.hooks), "state" in o && i(3, f = o.state), "mediaStore" in o && i(4, a = o.mediaStore), "temporaryState" in o && i(5, t = o.temporaryState);
132
+ }, [n, l, r, f, a, t];
168
133
  }
169
- class Ft extends S {
170
- constructor(t) {
171
- super(), v(
134
+ class R extends P {
135
+ constructor(e) {
136
+ super(), z(
172
137
  this,
173
- t,
174
- F,
175
- E,
176
- y,
138
+ e,
139
+ L,
140
+ K,
141
+ C,
177
142
  {
178
143
  withAnimation: 0,
179
144
  tags: 1,
180
- hooks: 5,
181
- mediaStore: 2,
145
+ hooks: 2,
182
146
  state: 3,
183
- temporaryState: 4
147
+ mediaStore: 4,
148
+ temporaryState: 5
184
149
  },
185
- D
150
+ J
186
151
  );
187
152
  }
188
153
  }
189
154
  export {
190
- Ft as default
155
+ R as TagContainer
191
156
  };
@@ -0,0 +1,152 @@
1
+ import { SvelteComponent as K, init as M, safe_not_equal as N, append_styles as O, element as W, space as Q, attr as T, toggle_class as _, set_style as d, insert as j, append as R, transition_in as p, group_outros as z, transition_out as h, check_outros as A, detach as B, create_component as E, mount_component as F, destroy_component as G, listen as U, stop_propagation as V } from "../../vendor/svelte/internal/index.js";
2
+ import "three";
3
+ import { noTypecheck as C } from "../utils/noTypecheck.js";
4
+ import { DimensionType as q, PointType as D, ContentType as X } from "../typings/tag.js";
5
+ import { Tag as Y } from "./Tag/index.js";
6
+ import { PointSwitch as Z } from "./Common/Point/PointSwitch.js";
7
+ function x(t) {
8
+ O(t, "svelte-1vzhbu2", ".wrapper.svelte-1vzhbu2{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}.point.svelte-1vzhbu2{-webkit-tap-highlight-color:transparent;position:absolute;transform:translate(-50%, -50%);left:50%;top:50%}");
9
+ }
10
+ function I(t) {
11
+ let e, o;
12
+ return e = new Y({
13
+ props: {
14
+ mediaStore: t[4],
15
+ withAnimation: t[0],
16
+ tag: C(t[1]),
17
+ hooks: t[2],
18
+ state: t[3],
19
+ temporaryState: t[5]
20
+ }
21
+ }), {
22
+ c() {
23
+ E(e.$$.fragment);
24
+ },
25
+ m(a, l) {
26
+ F(e, a, l), o = !0;
27
+ },
28
+ p(a, l) {
29
+ const i = {};
30
+ l & 16 && (i.mediaStore = a[4]), l & 1 && (i.withAnimation = a[0]), l & 2 && (i.tag = C(a[1])), l & 4 && (i.hooks = a[2]), l & 8 && (i.state = a[3]), l & 32 && (i.temporaryState = a[5]), e.$set(i);
31
+ },
32
+ i(a) {
33
+ o || (p(e.$$.fragment, a), o = !0);
34
+ },
35
+ o(a) {
36
+ h(e.$$.fragment, a), o = !1;
37
+ },
38
+ d(a) {
39
+ G(e, a);
40
+ }
41
+ };
42
+ }
43
+ function L(t) {
44
+ let e, o, a, l, i;
45
+ return o = new Z({ props: { tag: t[1] } }), {
46
+ c() {
47
+ e = W("div"), E(o.$$.fragment), T(e, "class", "point svelte-1vzhbu2");
48
+ },
49
+ m(n, m) {
50
+ j(n, e, m), F(o, e, null), a = !0, l || (i = U(e, "click", V(t[11])), l = !0);
51
+ },
52
+ p(n, m) {
53
+ const u = {};
54
+ m & 2 && (u.tag = n[1]), o.$set(u);
55
+ },
56
+ i(n) {
57
+ a || (p(o.$$.fragment, n), a = !0);
58
+ },
59
+ o(n) {
60
+ h(o.$$.fragment, n), a = !1;
61
+ },
62
+ d(n) {
63
+ n && B(e), G(o), l = !1, i();
64
+ }
65
+ };
66
+ }
67
+ function $(t) {
68
+ var m, u;
69
+ let e, o, a, l, i = t[1].dimensionType === q.Two && I(t), n = t[1].pointType === D.PointTag && ((u = (m = t[1].style) == null ? void 0 : m.point) == null ? void 0 : u.style) !== "noPoint" && L(t);
70
+ return {
71
+ c() {
72
+ e = W("div"), i && i.c(), o = Q(), n && n.c(), T(e, "class", "wrapper svelte-1vzhbu2"), T(e, "data-id", a = t[1].id), _(e, "hide", t[10]), _(e, "unfolded", t[6]), d(e, "left", t[9]), d(e, "top", t[8]), d(e, "z-index", t[7]);
73
+ },
74
+ m(r, f) {
75
+ j(r, e, f), i && i.m(e, null), R(e, o), n && n.m(e, null), l = !0;
76
+ },
77
+ p(r, [f]) {
78
+ var g, c;
79
+ r[1].dimensionType === q.Two ? i ? (i.p(r, f), f & 2 && p(i, 1)) : (i = I(r), i.c(), p(i, 1), i.m(e, o)) : i && (z(), h(i, 1, 1, () => {
80
+ i = null;
81
+ }), A()), r[1].pointType === D.PointTag && ((c = (g = r[1].style) == null ? void 0 : g.point) == null ? void 0 : c.style) !== "noPoint" ? n ? (n.p(r, f), f & 2 && p(n, 1)) : (n = L(r), n.c(), p(n, 1), n.m(e, null)) : n && (z(), h(n, 1, 1, () => {
82
+ n = null;
83
+ }), A()), (!l || f & 2 && a !== (a = r[1].id)) && T(e, "data-id", a), (!l || f & 1024) && _(e, "hide", r[10]), (!l || f & 64) && _(e, "unfolded", r[6]), f & 512 && d(e, "left", r[9]), f & 256 && d(e, "top", r[8]), f & 128 && d(e, "z-index", r[7]);
84
+ },
85
+ i(r) {
86
+ l || (p(i), p(n), l = !0);
87
+ },
88
+ o(r) {
89
+ h(i), h(n), l = !1;
90
+ },
91
+ d(r) {
92
+ r && B(e), i && i.d(), n && n.d();
93
+ }
94
+ };
95
+ }
96
+ function ee(t, e, o) {
97
+ let a, l, i, n, m, u, { withAnimation: r = !1 } = e, { tag: f } = e, { hooks: g } = e, { state: c } = e, { mediaStore: y } = e, { temporaryState: S } = e, k, w = !1;
98
+ function H(s) {
99
+ k !== void 0 && clearTimeout(k), w = !0, k = setTimeout(
100
+ () => {
101
+ w = !1;
102
+ },
103
+ 800
104
+ );
105
+ }
106
+ const J = (s) => {
107
+ w || g.emit("click", { event: s, target: "TagPoint", tag: f });
108
+ };
109
+ return t.$$set = (s) => {
110
+ "withAnimation" in s && o(0, r = s.withAnimation), "tag" in s && o(1, f = s.tag), "hooks" in s && o(2, g = s.hooks), "state" in s && o(3, c = s.state), "mediaStore" in s && o(4, y = s.mediaStore), "temporaryState" in s && o(5, S = s.temporaryState);
111
+ }, t.$$.update = () => {
112
+ var s, b, v, P;
113
+ t.$$.dirty & 2 && o(12, a = (s = f.state) == null ? void 0 : s.visible), t.$$.dirty & 4096 && o(10, l = !a), t.$$.dirty & 2 && o(6, i = (b = f.state) == null ? void 0 : b.unfolded), t.$$.dirty & 2 && o(9, n = ((v = f.pointTagStyle) == null ? void 0 : v.leftPercent) + "%"), t.$$.dirty & 2 && o(8, m = ((P = f.pointTagStyle) == null ? void 0 : P.topPercent) + "%"), t.$$.dirty & 2 && o(7, u = f.contentType === X.Link ? 1 : 0), t.$$.dirty & 64 && H();
114
+ }, [
115
+ r,
116
+ f,
117
+ g,
118
+ c,
119
+ y,
120
+ S,
121
+ i,
122
+ u,
123
+ m,
124
+ n,
125
+ l,
126
+ J,
127
+ a
128
+ ];
129
+ }
130
+ class re extends K {
131
+ constructor(e) {
132
+ super(), M(
133
+ this,
134
+ e,
135
+ ee,
136
+ $,
137
+ N,
138
+ {
139
+ withAnimation: 0,
140
+ tag: 1,
141
+ hooks: 2,
142
+ state: 3,
143
+ mediaStore: 4,
144
+ temporaryState: 5
145
+ },
146
+ x
147
+ );
148
+ }
149
+ }
150
+ export {
151
+ re as TagWrapper
152
+ };
@@ -1,6 +1,7 @@
1
1
  import type { Five } from '@realsee/five';
2
2
  import type { ValueOf } from 'type-fest';
3
- import type { TagId, TagCache, State, EventMap } from '../typings';
3
+ import type { TagId } from '../typings/tag';
4
+ import type { TagCache, State, EventMap } from '../typings';
4
5
  import * as BasePlugin from '../../base/BasePlugin';
5
6
  export declare abstract class TagCacheController extends BasePlugin.Controller<State, EventMap> {
6
7
  private tagCacheByPanoIndex;
@@ -2,8 +2,7 @@ var x = Object.defineProperty;
2
2
  var u = (n, t, e) => t in n ? x(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
3
  var f = (n, t, e) => (u(n, typeof t != "symbol" ? t + "" : t, e), e);
4
4
  import { Controller as I } from "../../base/BasePlugin.js";
5
- import "../../shared-utils/Subscribe.js";
6
- class w extends I {
5
+ class p extends I {
7
6
  constructor(e) {
8
7
  super(e);
9
8
  f(this, "tagCacheByPanoIndex", {});
@@ -28,5 +27,5 @@ class w extends I {
28
27
  }
29
28
  }
30
29
  export {
31
- w as TagCacheController
30
+ p as TagCacheController
32
31
  };
@@ -1,5 +1,5 @@
1
1
  import type { Five } from '@realsee/five';
2
- import type { Tag, Tags, TagConfig, ContentTypeConfigKey, PlaneTag, TagElement, Point2DElement, Point3DElement, PlaneTagElement, PointTagElement, Point3DTag, TagId, StickType, TagContentType } from '../typings';
2
+ import { Tag, Tags, TagConfig, PointType, DimensionType, ContentTypeConfigKey, PlaneTag, TagElement, Tag2DElement, Tag3DElement, PlaneTagElement, PointTagElement, Tag3D, TagId } from '../typings';
3
3
  import { TagCacheController } from './TagCacheController';
4
4
  export declare abstract class TagComputer extends TagCacheController {
5
5
  tags: TagElement[];
@@ -7,10 +7,9 @@ export declare abstract class TagComputer extends TagCacheController {
7
7
  globalConfig?: Tags['globalConfig'];
8
8
  contentTypeConfig?: Tags['contentTypeConfig'];
9
9
  };
10
- protected get isPanorama(): boolean;
11
10
  private raycaster;
12
11
  protected constructor(five: Five);
13
- getTagById(id: TagId): TagElement<TagContentType, StickType>;
12
+ getTagById(id: TagId): TagElement<import("../typings").ContentType, PointType, DimensionType, {}>;
14
13
  /**
15
14
  * @description: 改变配置
16
15
  */
@@ -26,29 +25,28 @@ export declare abstract class TagComputer extends TagCacheController {
26
25
  /**
27
26
  * @description: 获取是否可见
28
27
  */
29
- getVisibleByPanoIndex(tag: Tag<any, any>, panoIndex?: number): boolean;
28
+ getVisibleByPanoIndex(tag: Tag, panoIndex?: number): boolean;
30
29
  /**
31
30
  * @description: 获取是否展开
32
31
  */
33
- getUnfoldedByPanoIndex(tag: Tag<any>, panoIndex?: number): boolean;
32
+ getUnfoldedByPanoIndex(tag: Tag, panoIndex?: number): boolean;
34
33
  /**
35
34
  * @description: 获取是否展开
36
35
  */
37
- getUnfoldedByCamera(tag: Tag<any, any>): boolean;
36
+ getUnfoldedByCamera(tag: Tag): boolean;
38
37
  /**
39
38
  * @description: 获取距离
40
39
  */
41
- getDistance(tag: Tag<any, any>, panoIndex?: number): number;
40
+ getDistance(tag: Tag, panoIndex?: number): number;
42
41
  /**
43
42
  * @description: 获取角度
44
43
  */
45
- getAngle(tag: Point3DTag | PlaneTag, panoIndex?: number): number;
44
+ getAngle(tag: Tag3D | PlaneTag, panoIndex?: number): number;
46
45
  /**
47
46
  * @description: 获取merge后的配置
48
47
  */
49
- getTagConfig(tag: Tag<any, any>): TagConfig<TagContentType, StickType>;
50
- protected can(action: 'show' | 'hide' | 'fold' | 'unfold', tag: Tag<any, any>): boolean;
51
- protected sort<T extends Tag<any, any>>(tags: T[]): T[];
48
+ getTagConfig(tag: Tag): TagConfig<import("../typings").ContentType, PointType, DimensionType, {}>;
49
+ protected canBe(action: 'show' | 'hide' | 'fold' | 'unfold', tag: Tag): boolean;
52
50
  /**
53
51
  * @description: 一个点的标签
54
52
  */
@@ -58,14 +56,14 @@ export declare abstract class TagComputer extends TagCacheController {
58
56
  /**
59
57
  * @description: 一个点的标签
60
58
  */
61
- protected getTagProject(tag: Tag<any, any>): {
59
+ protected getTagProject(tag: Tag): {
62
60
  x: number;
63
61
  y: number;
64
62
  z: number;
65
63
  };
66
- protected filterPointTag(): PointTagElement<TagContentType>[];
67
- protected filter2DPointTag(): Point2DElement<TagContentType>[];
68
- protected filter3DPointTag(): Point3DElement<TagContentType>[];
69
- protected filter3DTag(): TagElement<any, "3DPoint" | "Plane">[];
64
+ protected filterPointTag(): PointTagElement[];
65
+ protected filterTag2D(): Tag2DElement[];
66
+ protected filter3DPointTag(): Tag3DElement[];
67
+ protected filter3DTag(): TagElement<any, PointType, DimensionType.Three>[];
70
68
  protected filterPlaneTag(): PlaneTagElement[];
71
69
  }