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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/dist/PanoTagPlugin/controller/index.d.ts +2 -2
  2. package/dist/PanoTagPlugin/typings/controller.d.ts +1 -0
  3. package/dist/index.cjs.js +36 -36
  4. package/dist/index.js +1399 -1395
  5. package/dist/index.umd.js +24 -24
  6. package/docs/assets/search.js +1 -1
  7. package/docs/classes/CSS3DRender.html +31 -31
  8. package/docs/classes/CruisePluginController.html +24 -24
  9. package/docs/classes/Magnifier.html +16 -16
  10. package/docs/classes/ModelRoomLabelController.html +11 -11
  11. package/docs/classes/Object3DHelperController.html +24 -24
  12. package/docs/classes/PaintBrush.html +15 -15
  13. package/docs/classes/PanoTagPluginController.html +41 -41
  14. package/docs/classes/Util.BetterTween.html +8 -8
  15. package/docs/classes/Util.FivePointSelector.html +12 -12
  16. package/docs/classes/Util.Interval.html +12 -12
  17. package/docs/classes/Util.Magnifier.html +17 -17
  18. package/docs/classes/Util.PointDomHelper.html +11 -11
  19. package/docs/classes/Util.PointHelper.html +11 -11
  20. package/docs/classes/Util.Rectangle.html +13 -13
  21. package/docs/enums/CameraMovementEffect.html +7 -7
  22. package/docs/enums/ContentType.html +16 -16
  23. package/docs/enums/DIRECTION.html +9 -9
  24. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -9
  25. package/docs/enums/DimensionType.html +7 -7
  26. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -8
  27. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -9
  28. package/docs/enums/PaintBrushTypeEnum.html +8 -8
  29. package/docs/enums/PointType.html +7 -7
  30. package/docs/enums/Rotation.html +8 -8
  31. package/docs/functions/CSS3DRenderPlugin.html +5 -4
  32. package/docs/functions/CameraMovementPlugin.html +5 -4
  33. package/docs/functions/CruisePlugin.html +5 -4
  34. package/docs/functions/GuideLinePlugin.html +6 -5
  35. package/docs/functions/ItemLabelPlugin.html +5 -4
  36. package/docs/functions/MapviewFloorplanPlugin.html +5 -4
  37. package/docs/functions/ModelChassisCompassPlugin.html +5 -4
  38. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -4
  39. package/docs/functions/ModelFloorplanPlugin.html +5 -4
  40. package/docs/functions/ModelItemLabelPlugin.html +5 -4
  41. package/docs/functions/ModelRoomLabelPlugin.html +5 -4
  42. package/docs/functions/ModelTVVideoPlugin.html +5 -4
  43. package/docs/functions/ModelViewPlugin.html +5 -4
  44. package/docs/functions/Object3DHelperPlugin.html +5 -4
  45. package/docs/functions/PanoCompassPlugin.html +5 -4
  46. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -4
  47. package/docs/functions/PanoDoorLabelPlugin.html +5 -4
  48. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -4
  49. package/docs/functions/PanoMeasurePlugin.html +5 -4
  50. package/docs/functions/PanoRulerPlugin.html +5 -4
  51. package/docs/functions/PanoRulerProPlugin.html +5 -4
  52. package/docs/functions/PanoSpatialTagPlugin.html +5 -4
  53. package/docs/functions/PanoTagPlugin.html +5 -4
  54. package/docs/functions/TopviewFloorplanPlugin.html +5 -4
  55. package/docs/functions/Util.getCoordsFromClient.html +5 -5
  56. package/docs/functions/Util.getCoordsFromElement.html +5 -5
  57. package/docs/functions/Util.getFrameTime.html +5 -5
  58. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -5
  59. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -5
  60. package/docs/functions/Util.isNil.html +5 -5
  61. package/docs/functions/Util.nextFrame.html +5 -5
  62. package/docs/functions/Util.notNil.html +5 -5
  63. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -5
  64. package/docs/functions/Util.tweenProgress.html +5 -5
  65. package/docs/functions/pluginFlag.html +6 -5
  66. package/docs/index.html +5 -4
  67. package/docs/interfaces/AddTagConfig.html +6 -6
  68. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -11
  69. package/docs/interfaces/CSS3DRenderPluginState.html +8 -8
  70. package/docs/interfaces/CameraMovementPluginExportType.html +7 -7
  71. package/docs/interfaces/EventMap.html +15 -15
  72. package/docs/interfaces/FloorplanBounding.html +8 -8
  73. package/docs/interfaces/FloorplanData.html +10 -10
  74. package/docs/interfaces/FloorplanEntrance.html +11 -11
  75. package/docs/interfaces/FloorplanExtraObject.html +10 -10
  76. package/docs/interfaces/FloorplanExtraObject3D.html +8 -8
  77. package/docs/interfaces/FloorplanFloorData.html +9 -9
  78. package/docs/interfaces/FloorplanImagePosition.html +7 -7
  79. package/docs/interfaces/FloorplanObserver.html +9 -9
  80. package/docs/interfaces/FloorplanOutlineItem.html +9 -9
  81. package/docs/interfaces/FloorplanPosition.html +7 -7
  82. package/docs/interfaces/FloorplanRoomItem.html +13 -13
  83. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -7
  84. package/docs/interfaces/FloorplanServerBounding.html +8 -8
  85. package/docs/interfaces/FloorplanServerComputedData.html +10 -10
  86. package/docs/interfaces/FloorplanServerData.html +7 -7
  87. package/docs/interfaces/FloorplanServerDoorItem.html +10 -10
  88. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -8
  89. package/docs/interfaces/FloorplanServerEntrance.html +11 -11
  90. package/docs/interfaces/FloorplanServerFloorData.html +9 -9
  91. package/docs/interfaces/FloorplanServerImagePosition.html +7 -7
  92. package/docs/interfaces/FloorplanServerObserver.html +9 -9
  93. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -9
  94. package/docs/interfaces/FloorplanServerPosition.html +7 -7
  95. package/docs/interfaces/FloorplanServerRoomItem.html +14 -14
  96. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -7
  97. package/docs/interfaces/ItemLabelPluginData.html +6 -6
  98. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -11
  99. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -9
  100. package/docs/interfaces/LineJson.html +7 -7
  101. package/docs/interfaces/MinMax.html +7 -7
  102. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -7
  103. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -8
  104. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -7
  105. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -8
  106. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -8
  107. package/docs/interfaces/ModelItemLabelPluginData.html +6 -6
  108. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -11
  109. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -7
  110. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -6
  111. package/docs/interfaces/ModelTVVideoPluginData.html +9 -9
  112. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -8
  113. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -6
  114. package/docs/interfaces/ModelViewPluginExportType.html +11 -11
  115. package/docs/interfaces/Object3DHelperState.html +8 -8
  116. package/docs/interfaces/OpenParameter.html +7 -7
  117. package/docs/interfaces/PaintBrushAction.html +12 -12
  118. package/docs/interfaces/PaintBrushConfigs.html +12 -12
  119. package/docs/interfaces/PaintBrushState.html +10 -10
  120. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -10
  121. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +6 -5
  122. package/docs/interfaces/PanoMeasureParameterType.html +11 -11
  123. package/docs/interfaces/PanoRulerPluginExportType.html +10 -10
  124. package/docs/interfaces/PanoRulerPluginOptions.html +7 -7
  125. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -8
  126. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -9
  127. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -7
  128. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -7
  129. package/docs/interfaces/PanoRulerProPluginState.html +8 -8
  130. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +6 -5
  131. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +6 -5
  132. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -11
  133. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -10
  134. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -13
  135. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -10
  136. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -13
  137. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -11
  138. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -10
  139. package/docs/interfaces/Point.html +8 -8
  140. package/docs/interfaces/PointJson.html +8 -8
  141. package/docs/interfaces/Room.html +9 -9
  142. package/docs/interfaces/RoomInfo.html +7 -7
  143. package/docs/interfaces/RoomLabel.html +14 -14
  144. package/docs/interfaces/RoomRules.html +6 -5
  145. package/docs/interfaces/Rooms.html +6 -5
  146. package/docs/interfaces/Scissor.html +9 -9
  147. package/docs/interfaces/State.html +8 -8
  148. package/docs/interfaces/TagCache.html +10 -10
  149. package/docs/interfaces/TagConfig.html +10 -10
  150. package/docs/interfaces/TagIconUrl.html +9 -9
  151. package/docs/interfaces/Tags.html +9 -9
  152. package/docs/interfaces/TemporaryState.html +6 -6
  153. package/docs/interfaces/Util.MagnifierParameter.html +11 -11
  154. package/docs/interfaces/Util.MouseGroupParameter.html +8 -8
  155. package/docs/modules/Util.html +5 -5
  156. package/docs/modules.html +6 -4
  157. package/docs/types/ArrayPosition.html +6 -5
  158. package/docs/types/CSS3DRenderExportType.html +6 -5
  159. package/docs/types/CSS3DRenderPluginExportType.html +6 -5
  160. package/docs/types/CSS3DRenderPluginParameterType.html +6 -5
  161. package/docs/types/Color.html +6 -5
  162. package/docs/types/ContentTypeConfigKey.html +6 -5
  163. package/docs/types/ContentTypeMap.html +6 -5
  164. package/docs/types/Create3DDomContainerReturnType.html +6 -5
  165. package/docs/types/Create3DElementReturnType.html +6 -5
  166. package/docs/types/CruisePluginExportType.html +6 -5
  167. package/docs/types/Direction-1.html +6 -5
  168. package/docs/types/Direction4.html +6 -5
  169. package/docs/types/FloorplanRuleLabels.html +6 -5
  170. package/docs/types/FloorplanServerRuleLabels.html +6 -5
  171. package/docs/types/GuideLinePluginExportType.html +6 -5
  172. package/docs/types/HelperEventMap.html +6 -5
  173. package/docs/types/LoadTagConfig.html +248 -0
  174. package/docs/types/MapviewFloorplanPluginParameterType.html +6 -5
  175. package/docs/types/MapviewFloorplanPluginReturnType.html +6 -5
  176. package/docs/types/MediaData.html +6 -5
  177. package/docs/types/MediaStore.html +6 -5
  178. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +6 -5
  179. package/docs/types/ModelFloorplanPluginParameterType.html +6 -5
  180. package/docs/types/ModelFloorplanPluginReturnType.html +6 -5
  181. package/docs/types/ModelRoomLabelPluginParameters.html +6 -5
  182. package/docs/types/ModelRoomLabelPluginReturnType.html +6 -5
  183. package/docs/types/MoveArgs.html +6 -5
  184. package/docs/types/MoveOpts.html +6 -5
  185. package/docs/types/Object3DHelperEventMap.html +6 -5
  186. package/docs/types/ObjectFit.html +6 -5
  187. package/docs/types/PaintBrushEventMap.html +6 -5
  188. package/docs/types/PanoCompassPluginData.html +6 -5
  189. package/docs/types/PanoCompassPluginExportType.html +6 -5
  190. package/docs/types/PanoCompassPluginParameterType.html +6 -5
  191. package/docs/types/PanoFloorplanRadarPluginParameterType.html +6 -5
  192. package/docs/types/PanoFloorplanRadarPluginReturnType.html +6 -5
  193. package/docs/types/PanoIndex.html +6 -5
  194. package/docs/types/PanoMeasurePluginEvent.html +6 -5
  195. package/docs/types/PanoMeasureReturnType.html +6 -5
  196. package/docs/types/PanoSpatialTagPluginId.html +6 -5
  197. package/docs/types/PanoTagPluginExportInterface.html +6 -5
  198. package/docs/types/PanoTagPluginParamsInterface.html +6 -5
  199. package/docs/types/PlaneTag.html +6 -5
  200. package/docs/types/PlaneTagElement.html +6 -5
  201. package/docs/types/Point2DElement.html +6 -5
  202. package/docs/types/Point2DTag.html +6 -5
  203. package/docs/types/Point3DElement.html +6 -5
  204. package/docs/types/Point3DTag.html +6 -5
  205. package/docs/types/PointTag.html +6 -5
  206. package/docs/types/PointTagElement.html +6 -5
  207. package/docs/types/Position.html +6 -5
  208. package/docs/types/RotateArgs.html +6 -5
  209. package/docs/types/RotateOpts.html +6 -5
  210. package/docs/types/RuleLabelsKey.html +6 -5
  211. package/docs/types/RuleLabelsValue.html +6 -5
  212. package/docs/types/StickType.html +6 -5
  213. package/docs/types/Tag.html +6 -5
  214. package/docs/types/Tag2D.html +6 -5
  215. package/docs/types/Tag3D.html +6 -5
  216. package/docs/types/TagContentType.html +6 -5
  217. package/docs/types/TagDimensionType.html +6 -5
  218. package/docs/types/TagElement.html +6 -5
  219. package/docs/types/TagEvents.html +6 -5
  220. package/docs/types/TagHooks.html +6 -5
  221. package/docs/types/TagIconSize.html +6 -5
  222. package/docs/types/TagId.html +6 -5
  223. package/docs/types/TagPointType.html +6 -5
  224. package/docs/types/TopviewFloorplanPluginParameterType.html +6 -5
  225. package/docs/types/TopviewFloorplanPluginReturnType.html +6 -5
  226. package/docs/types/WorkCode.html +6 -5
  227. package/docs/variables/FLOOR_TYPE_MAP.html +6 -5
  228. package/docs/variables/PLUGIN.html +6 -5
  229. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +6 -5
  230. package/docs/variables/ROOM_TYPE_MAP.html +6 -5
  231. package/docs/variables/VERSION.html +6 -5
  232. package/docs/variables/itemLabelPluginServerParams.html +6 -5
  233. package/docs/variables/modelItemLabelPluginServerParams.html +6 -5
  234. package/docs/variables/modelRoomLabelPluginServerParams.html +6 -5
  235. package/libs/CSS3DRenderPlugin/CSS3DRender.js +1 -1
  236. package/libs/CSS3DRenderPlugin/Controller.js +2 -2
  237. package/libs/CSS3DRenderPlugin/utils/createResizeObserver.js +1 -1
  238. package/libs/CSS3DRenderPlugin/utils/generateBehindFiveElement.js +1 -1
  239. package/libs/CSS3DRenderPlugin/utils/getAllCSS3DObject.js +4 -4
  240. package/libs/CSS3DRenderPlugin/utils/index.js +12 -0
  241. package/libs/CSS3DRenderPlugin/utils/positionToVector3.js +2 -1
  242. package/libs/CSS3DRenderPlugin/utils/random.js +6 -1
  243. package/libs/CSS3DRenderPlugin/utils/three/CSS3DGroup.js +3 -2
  244. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +2 -1
  245. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRenderer.js +6 -4
  246. package/libs/CSS3DRenderPlugin/utils/three/CSS3DScene.js +1 -1
  247. package/libs/CSS3DRenderPlugin/utils/three/OpacityMesh.js +6 -6
  248. package/libs/CSS3DRenderPlugin/utils/waitFiveModelLoaded.js +13 -13
  249. package/libs/CruisePlugin/Controller.js +1 -1
  250. package/libs/CruisePlugin/utils/coordinatesAngle.js +3 -2
  251. package/libs/CruisePlugin/utils/linerValue.js +4 -4
  252. package/libs/GuideLinePlugin/Controller.js +1 -1
  253. package/libs/GuideLinePlugin/utils/getLineGeometries.js +1 -1
  254. package/libs/GuideLinePlugin/utils/getPoint.d.ts +3 -0
  255. package/libs/GuideLinePlugin/utils/getPoint.js +18 -0
  256. package/libs/Object3DHelperPlugin/Controller.js +2 -2
  257. package/libs/PanoMeasurePlugin/Controller/BaseController.js +25 -15
  258. package/libs/PanoMeasurePlugin/Controller/EditController.js +21 -9
  259. package/libs/PanoMeasurePlugin/Controller/MixedController.js +23 -10
  260. package/libs/PanoMeasurePlugin/Controller/ViewController.js +25 -14
  261. package/libs/PanoMeasurePlugin/Controller/WatchController.js +44 -29
  262. package/libs/PanoMeasurePlugin/Controller/index.js +58 -21
  263. package/libs/PanoMeasurePlugin/Model/index.js +47 -40
  264. package/libs/PanoMeasurePlugin/Model/line.js +15 -11
  265. package/libs/PanoMeasurePlugin/Model/point.js +5 -5
  266. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete.svg.js +1 -1
  267. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_bg.png.js +1 -1
  268. package/libs/PanoMeasurePlugin/Modules/DeleteDom/_Assets/delete_hover_bg.png.js +1 -1
  269. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +4 -4
  270. package/libs/PanoMeasurePlugin/Modules/FiveHelper.js +3 -3
  271. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +30 -30
  272. package/libs/PanoMeasurePlugin/Modules/UIController/HTML.js +2 -2
  273. package/libs/PanoMeasurePlugin/Modules/UIController/Revoke/index.js +2 -2
  274. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +3 -3
  275. package/libs/PanoMeasurePlugin/Modules/UIController/mobileHTML.js +1 -1
  276. package/libs/PanoMeasurePlugin/Modules/UIController/style.js +24 -16
  277. package/libs/PanoMeasurePlugin/Modules/rangePiece/html.js +4 -3
  278. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +8 -5
  279. package/libs/PanoMeasurePlugin/index.js +2 -2
  280. package/libs/PanoMeasurePlugin/typings/data.js +1 -0
  281. package/libs/PanoMeasurePlugin/typings/event.type.js +1 -0
  282. package/libs/PanoMeasurePlugin/typings/index.js +1 -0
  283. package/libs/PanoMeasurePlugin/typings/utils.type.d.ts +1 -0
  284. package/libs/PanoMeasurePlugin/typings/utils.type.js +1 -0
  285. package/libs/PanoMeasurePlugin/utils/calculateThreeMouse.js +1 -1
  286. package/libs/PanoMeasurePlugin/utils/clearGroup.d.ts +2 -0
  287. package/libs/PanoMeasurePlugin/utils/clearGroup.js +6 -0
  288. package/libs/PanoMeasurePlugin/utils/constants.js +15 -16
  289. package/libs/PanoMeasurePlugin/utils/distanceDom.js +1 -1
  290. package/libs/PanoMeasurePlugin/utils/findClosestPoint.js +7 -6
  291. package/libs/PanoMeasurePlugin/utils/isNDCPointInScreen.js +3 -3
  292. package/libs/PanoMeasurePlugin/utils/line.js +1 -0
  293. package/libs/PanoMeasurePlugin/utils/math.js +2 -1
  294. package/libs/PanoMeasurePlugin/utils/ndc2Screen.js +2 -2
  295. package/libs/PanoSpatialTagPlugin/Components/origins.js +3 -2
  296. package/libs/PanoSpatialTagPlugin/Components/tag.js +3 -2
  297. package/libs/PanoSpatialTagPlugin/Plugin.js +2 -2
  298. package/libs/PanoTagPlugin/Components/Common/Arrow.js +11 -11
  299. package/libs/PanoTagPlugin/Components/Common/Audio.js +24 -24
  300. package/libs/PanoTagPlugin/Components/Common/Icon/Icon.js +20 -18
  301. package/libs/PanoTagPlugin/Components/Common/Icon/audioIcon.js +31 -29
  302. package/libs/PanoTagPlugin/Components/Common/Line/Polyline.js +19 -19
  303. package/libs/PanoTagPlugin/Components/Common/Line/Straight.js +25 -24
  304. package/libs/PanoTagPlugin/Components/Common/Media.js +47 -39
  305. package/libs/PanoTagPlugin/Components/Common/MediaItem.js +1 -1
  306. package/libs/PanoTagPlugin/Components/Common/Shadow.js +10 -9
  307. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +24 -21
  308. package/libs/PanoTagPlugin/Components/Common/Text/FlyMText.js +37 -27
  309. package/libs/PanoTagPlugin/Components/Common/Text/FlyText.js +25 -25
  310. package/libs/PanoTagPlugin/Components/Common/Text/MText.js +26 -26
  311. package/libs/PanoTagPlugin/Components/Common/TextItem.js +106 -0
  312. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioPlaneTag.js +22 -18
  313. package/libs/PanoTagPlugin/Components/Tag/AudioTag/AudioTag.js +54 -43
  314. package/libs/PanoTagPlugin/Components/Tag/AudioTag/index.js +83 -61
  315. package/libs/PanoTagPlugin/Components/Tag/CustomTag.js +22 -22
  316. package/libs/PanoTagPlugin/Components/Tag/ImageTextTag.js +103 -81
  317. package/libs/PanoTagPlugin/Components/Tag/LinkTag.js +54 -43
  318. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +5 -3
  319. package/libs/PanoTagPlugin/Components/Tag/MediaPlane.js +74 -56
  320. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextPlaneTag.js +27 -23
  321. package/libs/PanoTagPlugin/Components/Tag/TextTag/TextTag.js +51 -39
  322. package/libs/PanoTagPlugin/Components/Tag/TextTag/index.js +69 -52
  323. package/libs/PanoTagPlugin/Components/Tag/index.js +119 -79
  324. package/libs/PanoTagPlugin/Components/TagContainer.js +132 -81
  325. package/libs/PanoTagPlugin/Components/TagItem.js +110 -63
  326. package/libs/PanoTagPlugin/controller/TagCacheController.js +3 -2
  327. package/libs/PanoTagPlugin/controller/TagComputer.js +9 -6
  328. package/libs/PanoTagPlugin/controller/index.d.ts +2 -2
  329. package/libs/PanoTagPlugin/controller/index.js +131 -61
  330. package/libs/PanoTagPlugin/index.js +2 -2
  331. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.d.ts +4 -0
  332. package/libs/PanoTagPlugin/mocks/v1/mock-80P6A03eQRQKY3oqLj.js +6 -0
  333. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.d.ts +93 -0
  334. package/libs/PanoTagPlugin/mocks/v1/mock-80QG2vMPboNv5DWrom.js +5622 -0
  335. package/libs/PanoTagPlugin/mocks/v1/mock-test3-realsee-cn-4zr0A5.js +1325 -0
  336. package/libs/PanoTagPlugin/mocks/v1/mock1.d.ts +173 -0
  337. package/libs/PanoTagPlugin/mocks/v1/mock1.js +122 -0
  338. package/libs/PanoTagPlugin/mocks/v1/mock2.d.ts +233 -0
  339. package/libs/PanoTagPlugin/mocks/v1/mock2.js +296 -0
  340. package/libs/PanoTagPlugin/mocks/v1/mock3.d.ts +22 -0
  341. package/libs/PanoTagPlugin/mocks/v1/mock3.js +32 -0
  342. package/libs/PanoTagPlugin/mocks/v1/mock4.d.ts +56 -0
  343. package/libs/PanoTagPlugin/mocks/v1/mock4.js +60 -0
  344. package/libs/PanoTagPlugin/mocks/v1/mock5.d.ts +13 -0
  345. package/libs/PanoTagPlugin/mocks/v1/mock5.js +17 -0
  346. package/libs/PanoTagPlugin/mocks/v1/mock6.d.ts +16 -0
  347. package/libs/PanoTagPlugin/mocks/v1/mock6.js +27 -0
  348. package/libs/PanoTagPlugin/mocks/v1/mock7.d.ts +22 -0
  349. package/libs/PanoTagPlugin/mocks/v1/mock7.js +228 -0
  350. package/libs/PanoTagPlugin/mocks/v2/mock1.d.ts +128 -0
  351. package/libs/PanoTagPlugin/mocks/v2/mock1.js +114 -0
  352. package/libs/PanoTagPlugin/typings/controller.d.ts +1 -0
  353. package/libs/PanoTagPlugin/typings/index.js +7 -1
  354. package/libs/PanoTagPlugin/typings/tag/Tag.js +4 -1
  355. package/libs/PanoTagPlugin/utils/constants.js +2 -1
  356. package/libs/PanoTagPlugin/utils/doUtil.js +6 -6
  357. package/libs/PanoTagPlugin/utils/getImageInfo.js +16 -15
  358. package/libs/PanoTagPlugin/utils/index.js +35 -0
  359. package/libs/PanoTagPlugin/utils/px2rem.js +3 -3
  360. package/libs/PanoTagPlugin/utils/search.js +27 -9
  361. package/libs/PanoTagPlugin/utils/tag/format.js +1 -1
  362. package/libs/PanoTagPlugin/utils/tag/tagCheck.js +22 -6
  363. package/libs/PanoTagPlugin/utils/timeToString.js +4 -4
  364. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Camera.js +1 -1
  365. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/CurrentFloor.js +10 -6
  366. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/CurrentFloor/ExtraObjects.js +20 -20
  367. package/libs/floorplan/PanoFloorplanRadarPlugin/Components/Main.js +83 -74
  368. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +1 -1
  369. package/libs/index.js +7 -7
  370. package/package.json +1 -1
@@ -1,128 +1,179 @@
1
- import { SvelteComponent as v, init as y, safe_not_equal as A, append_styles as q, empty as d, insert as h, transition_in as m, transition_out as u, check_outros as w, detach as _, setContext as p, element as C, attr as z, toggle_class as c, group_outros as S, 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 { TagItem as B } from "./TagItem.js";
3
- function D(s) {
4
- q(s, "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 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}");
5
56
  }
6
- function g(s, e, n) {
7
- const t = s.slice();
8
- return t[6] = e[n], t;
57
+ function _(l, t, o) {
58
+ const e = l.slice();
59
+ return e[6] = t[o], e;
9
60
  }
10
- function k(s) {
11
- let e, n = [], t = /* @__PURE__ */ new Map(), a, o = s[1];
12
- const f = (i) => i[6].id;
13
- for (let i = 0; i < o.length; i += 1) {
14
- let l = g(s, o, i), r = f(l);
15
- t.set(r, n[i] = b(r, l));
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));
16
67
  }
17
68
  return {
18
69
  c() {
19
- e = C("div");
20
- for (let i = 0; i < n.length; i += 1)
21
- n[i].c();
22
- z(e, "class", "tag--container svelte-wqbk81"), c(e, "hide", !s[3].visible || !s[4].visible), c(e, "withAnimation", s[0]);
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]);
23
74
  },
24
- m(i, l) {
25
- h(i, e, l);
26
- for (let r = 0; r < n.length; r += 1)
27
- n[r].m(e, null);
28
- a = !0;
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;
29
80
  },
30
- p(i, l) {
31
- l & 31 && (o = i[1], S(), n = T(n, l, f, 1, i, o, t, e, I, b, null, g), w()), (!a || l & 24) && c(e, "hide", !i[3].visible || !i[4].visible), (!a || l & 1) && c(e, "withAnimation", i[0]);
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]);
32
83
  },
33
84
  i(i) {
34
- if (!a) {
35
- for (let l = 0; l < o.length; l += 1)
36
- m(n[l]);
37
- a = !0;
85
+ if (!n) {
86
+ for (let m = 0; m < r.length; m += 1)
87
+ f(o[m]);
88
+ n = !0;
38
89
  }
39
90
  },
40
91
  o(i) {
41
- for (let l = 0; l < n.length; l += 1)
42
- u(n[l]);
43
- a = !1;
92
+ for (let m = 0; m < o.length; m += 1)
93
+ c(o[m]);
94
+ n = !1;
44
95
  },
45
96
  d(i) {
46
- i && _(e);
47
- for (let l = 0; l < n.length; l += 1)
48
- n[l].d();
97
+ i && h(t);
98
+ for (let m = 0; m < o.length; m += 1)
99
+ o[m].d();
49
100
  }
50
101
  };
51
102
  }
52
- function b(s, e) {
53
- let n, t, a;
54
- return t = new B({
103
+ function k(l, t) {
104
+ let o, e, n;
105
+ return e = new B({
55
106
  props: {
56
- state: e[3],
57
- temporaryState: e[4],
58
- withAnimation: e[0],
59
- tag: e[6],
60
- mediaStore: e[2]
107
+ state: t[3],
108
+ temporaryState: t[4],
109
+ withAnimation: t[0],
110
+ tag: t[6],
111
+ mediaStore: t[2]
61
112
  }
62
113
  }), {
63
- key: s,
114
+ key: l,
64
115
  first: null,
65
116
  c() {
66
- n = d(), M(t.$$.fragment), this.first = n;
117
+ o = b(), M(e.$$.fragment), this.first = o;
67
118
  },
68
- m(o, f) {
69
- h(o, n, f), N(t, o, f), a = !0;
119
+ m(r, s) {
120
+ u(r, o, s), N(e, r, s), n = !0;
70
121
  },
71
- p(o, f) {
72
- e = o;
122
+ p(r, s) {
123
+ t = r;
73
124
  const i = {};
74
- f & 8 && (i.state = e[3]), f & 16 && (i.temporaryState = e[4]), f & 1 && (i.withAnimation = e[0]), f & 2 && (i.tag = e[6]), f & 4 && (i.mediaStore = e[2]), t.$set(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);
75
126
  },
76
- i(o) {
77
- a || (m(t.$$.fragment, o), a = !0);
127
+ i(r) {
128
+ n || (f(e.$$.fragment, r), n = !0);
78
129
  },
79
- o(o) {
80
- u(t.$$.fragment, o), a = !1;
130
+ o(r) {
131
+ c(e.$$.fragment, r), n = !1;
81
132
  },
82
- d(o) {
83
- o && _(n), j(t, o);
133
+ d(r) {
134
+ r && h(o), j(e, r);
84
135
  }
85
136
  };
86
137
  }
87
- function E(s) {
88
- let e, n, t = s[3].enabled && k(s);
138
+ function E(l) {
139
+ let t, o, e = l[3].enabled && g(l);
89
140
  return {
90
141
  c() {
91
- t && t.c(), e = d();
142
+ e && e.c(), t = b();
92
143
  },
93
- m(a, o) {
94
- t && t.m(a, o), h(a, e, o), n = !0;
144
+ m(n, r) {
145
+ e && e.m(n, r), u(n, t, r), o = !0;
95
146
  },
96
- p(a, [o]) {
97
- a[3].enabled ? t ? (t.p(a, o), o & 8 && m(t, 1)) : (t = k(a), t.c(), m(t, 1), t.m(e.parentNode, e)) : t && (S(), u(t, 1, 1, () => {
98
- t = null;
99
- }), w());
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());
100
151
  },
101
- i(a) {
102
- n || (m(t), n = !0);
152
+ i(n) {
153
+ o || (f(e), o = !0);
103
154
  },
104
- o(a) {
105
- u(t), n = !1;
155
+ o(n) {
156
+ c(e), o = !1;
106
157
  },
107
- d(a) {
108
- t && t.d(a), a && _(e);
158
+ d(n) {
159
+ e && e.d(n), n && h(t);
109
160
  }
110
161
  };
111
162
  }
112
- function F(s, e, n) {
113
- let { withAnimation: t = !1 } = e, { tags: a = [] } = e, { hooks: o } = e, { mediaStore: f } = e, { state: i } = e, { temporaryState: l } = e;
114
- return p("hooks", o), s.$$set = (r) => {
115
- "withAnimation" in r && n(0, t = r.withAnimation), "tags" in r && n(1, a = r.tags), "hooks" in r && n(5, o = r.hooks), "mediaStore" in r && n(2, f = r.mediaStore), "state" in r && n(3, i = r.state), "temporaryState" in r && n(4, l = r.temporaryState);
116
- }, [t, a, f, i, l, o];
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];
117
168
  }
118
- class J extends v {
119
- constructor(e) {
120
- super(), y(
169
+ class Ft extends S {
170
+ constructor(t) {
171
+ super(), v(
121
172
  this,
122
- e,
173
+ t,
123
174
  F,
124
175
  E,
125
- A,
176
+ y,
126
177
  {
127
178
  withAnimation: 0,
128
179
  tags: 1,
@@ -136,5 +187,5 @@ class J extends v {
136
187
  }
137
188
  }
138
189
  export {
139
- J as TagContainer
190
+ Ft as default
140
191
  };
@@ -1,14 +1,61 @@
1
- import { SvelteComponent as M, init as N, safe_not_equal as O, append_styles as Q, element as q, space as R, attr as m, set_style as g, toggle_class as p, insert as U, append as D, transition_in as d, group_outros as L, transition_out as c, check_outros as j, detach as V, getContext as W, create_component as G, mount_component as H, destroy_component as J } from "../../vendor/svelte/internal/index.js";
2
- import { Tag as X } from "./Tag/index.js";
1
+ import { SvelteComponent as M, init as N, safe_not_equal as O, append_styles as Q, element as q, space as R, attr as s, set_style as d, toggle_class as g, insert as U, append as D, transition_in as u, transition_out as c, check_outros as L, detach as V, getContext as W, create_component as G, mount_component as H, destroy_component as J, group_outros as j } from "../../vendor/svelte/internal/index.js";
2
+ import X from "./Tag/index.js";
3
3
  import "three";
4
4
  import { noTypecheck as B } from "../utils/noTypecheck.js";
5
- import { TagPoint as Y } from "./Common/TagPoint.js";
5
+ import Y from "./Common/TagPoint.js";
6
+ import "./Tag/TextTag/index.js";
7
+ import "./Tag/TextTag/TextTag.js";
8
+ import "./Common/Line/Straight.js";
9
+ import "../../vendor/svelte/transition/index.js";
10
+ import "../../vendor/svelte/easing/index.js";
11
+ import "../../shared-utils/uuid.js";
12
+ import "./Common/Shadow.js";
13
+ import "./Common/Text/FlyMText.js";
14
+ import "./Common/Text/FlyText.js";
15
+ import "animejs";
16
+ import "../../shared-utils/isNil.js";
17
+ import "../utils/search.js";
18
+ import "../utils/constants.js";
19
+ import "./Common/Arrow.js";
20
+ import "../Assets/Icon.js";
21
+ import "../utils/doUtil.js";
22
+ import "./Tag/TextTag/TextPlaneTag.js";
23
+ import "./Common/Text/MText.js";
24
+ import "../utils/px2rem.js";
25
+ import "./Tag/ImageTextTag.js";
26
+ import "./Common/Line/Polyline.js";
27
+ import "./Common/Media.js";
28
+ import "../../vendor/swiper/svelte/swiper.js";
29
+ import "swiper";
30
+ import "../../vendor/swiper/components-shared/get-params.js";
31
+ import "../../vendor/swiper/components-shared/utils.js";
32
+ import "../../vendor/swiper/components-shared/params-list.js";
33
+ import "../../vendor/swiper/components-shared/mount-swiper.js";
34
+ import "../../vendor/swiper/components-shared/get-changed-params.js";
35
+ import "../../vendor/swiper/components-shared/update-swiper.js";
36
+ import "../../vendor/swiper/svelte/swiper-slide.js";
37
+ import "swiper/css";
38
+ import "swiper/css/autoplay";
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";
6
53
  function Z(i) {
7
54
  Q(i, "svelte-bdubcv", ".tag.hide.svelte-bdubcv{opacity:0;pointer-events:none}.tag.disable.svelte-bdubcv{display:none}.tag.withAnimation.svelte-bdubcv{transition:opacity 0.3s linear}.wrapper.svelte-bdubcv{position:absolute;width:0rem;height:0rem;overflow:visible;pointer-events:auto}");
8
55
  }
9
56
  function E(i) {
10
- let t, e;
11
- return t = new X({
57
+ let e, t;
58
+ return e = new X({
12
59
  props: {
13
60
  mediaStore: i[2],
14
61
  withAnimation: i[0],
@@ -19,108 +66,108 @@ function E(i) {
19
66
  }
20
67
  }), {
21
68
  c() {
22
- G(t.$$.fragment);
69
+ G(e.$$.fragment);
23
70
  },
24
- m(a, o) {
25
- H(t, a, o), e = !0;
71
+ m(r, n) {
72
+ H(e, r, n), t = !0;
26
73
  },
27
- p(a, o) {
28
- const n = {};
29
- o & 4 && (n.mediaStore = a[2]), o & 1 && (n.withAnimation = a[0]), o & 2 && (n.tag = B(a[1])), o & 8 && (n.state = a[3]), o & 16 && (n.temporaryState = a[4]), t.$set(n);
74
+ p(r, n) {
75
+ const o = {};
76
+ n & 4 && (o.mediaStore = r[2]), n & 1 && (o.withAnimation = r[0]), n & 2 && (o.tag = B(r[1])), n & 8 && (o.state = r[3]), n & 16 && (o.temporaryState = r[4]), e.$set(o);
30
77
  },
31
- i(a) {
32
- e || (d(t.$$.fragment, a), e = !0);
78
+ i(r) {
79
+ t || (u(e.$$.fragment, r), t = !0);
33
80
  },
34
- o(a) {
35
- c(t.$$.fragment, a), e = !1;
81
+ o(r) {
82
+ c(e.$$.fragment, r), t = !1;
36
83
  },
37
- d(a) {
38
- J(t, a);
84
+ d(r) {
85
+ J(e, r);
39
86
  }
40
87
  };
41
88
  }
42
89
  function F(i) {
43
- let t, e;
44
- return t = new Y({ props: { tag: i[1] } }), {
90
+ let e, t;
91
+ return e = new Y({ props: { tag: i[1] } }), {
45
92
  c() {
46
- G(t.$$.fragment);
93
+ G(e.$$.fragment);
47
94
  },
48
- m(a, o) {
49
- H(t, a, o), e = !0;
95
+ m(r, n) {
96
+ H(e, r, n), t = !0;
50
97
  },
51
- p(a, o) {
52
- const n = {};
53
- o & 2 && (n.tag = a[1]), t.$set(n);
98
+ p(r, n) {
99
+ const o = {};
100
+ n & 2 && (o.tag = r[1]), e.$set(o);
54
101
  },
55
- i(a) {
56
- e || (d(t.$$.fragment, a), e = !0);
102
+ i(r) {
103
+ t || (u(e.$$.fragment, r), t = !0);
57
104
  },
58
- o(a) {
59
- c(t.$$.fragment, a), e = !1;
105
+ o(r) {
106
+ c(e.$$.fragment, r), t = !1;
60
107
  },
61
- d(a) {
62
- J(t, a);
108
+ d(r) {
109
+ J(e, r);
63
110
  }
64
111
  };
65
112
  }
66
113
  function x(i) {
67
- let t, e, a, o, n = i[12] && E(i), f = i[13] && F(i);
114
+ let e, t, r, n, o = i[12] && E(i), m = i[13] && F(i);
68
115
  return {
69
116
  c() {
70
- t = q("div"), e = q("div"), n && n.c(), a = R(), f && f.c(), m(e, "class", "wrapper svelte-bdubcv"), m(e, "data-tag-id", i[11]), g(e, "left", i[7]), g(e, "top", i[6]), g(e, "z-index", i[5]), m(t, "class", "tag svelte-bdubcv"), m(t, "data-tag-id", i[11]), m(t, "data-tag-unfolded", i[8]), p(t, "disable", i[10]), p(t, "hide", i[9]), p(t, "withAnimation", i[0]);
117
+ e = q("div"), t = q("div"), o && o.c(), r = R(), m && m.c(), s(t, "class", "wrapper svelte-bdubcv"), s(t, "data-tag-id", i[11]), d(t, "left", i[7]), d(t, "top", i[6]), d(t, "z-index", i[5]), s(e, "class", "tag svelte-bdubcv"), s(e, "data-tag-id", i[11]), s(e, "data-tag-unfolded", i[8]), g(e, "disable", i[10]), g(e, "hide", i[9]), g(e, "withAnimation", i[0]);
71
118
  },
72
- m(r, l) {
73
- U(r, t, l), D(t, e), n && n.m(e, null), D(e, a), f && f.m(e, null), o = !0;
119
+ m(a, p) {
120
+ U(a, e, p), D(e, t), o && o.m(t, null), D(t, r), m && m.m(t, null), n = !0;
74
121
  },
75
- p(r, [l]) {
76
- r[12] ? n ? (n.p(r, l), l & 4096 && d(n, 1)) : (n = E(r), n.c(), d(n, 1), n.m(e, a)) : n && (L(), c(n, 1, 1, () => {
77
- n = null;
78
- }), j()), r[13] ? f ? (f.p(r, l), l & 8192 && d(f, 1)) : (f = F(r), f.c(), d(f, 1), f.m(e, null)) : f && (L(), c(f, 1, 1, () => {
79
- f = null;
80
- }), j()), (!o || l & 2048) && m(e, "data-tag-id", r[11]), l & 128 && g(e, "left", r[7]), l & 64 && g(e, "top", r[6]), l & 32 && g(e, "z-index", r[5]), (!o || l & 2048) && m(t, "data-tag-id", r[11]), (!o || l & 256) && m(t, "data-tag-unfolded", r[8]), (!o || l & 1024) && p(t, "disable", r[10]), (!o || l & 512) && p(t, "hide", r[9]), (!o || l & 1) && p(t, "withAnimation", r[0]);
122
+ p(a, [p]) {
123
+ a[12] ? o ? (o.p(a, p), p & 4096 && u(o, 1)) : (o = E(a), o.c(), u(o, 1), o.m(t, r)) : o && (j(), c(o, 1, 1, () => {
124
+ o = null;
125
+ }), L()), a[13] ? m ? (m.p(a, p), p & 8192 && u(m, 1)) : (m = F(a), m.c(), u(m, 1), m.m(t, null)) : m && (j(), c(m, 1, 1, () => {
126
+ m = null;
127
+ }), L()), (!n || p & 2048) && s(t, "data-tag-id", a[11]), p & 128 && d(t, "left", a[7]), p & 64 && d(t, "top", a[6]), p & 32 && d(t, "z-index", a[5]), (!n || p & 2048) && s(e, "data-tag-id", a[11]), (!n || p & 256) && s(e, "data-tag-unfolded", a[8]), (!n || p & 1024) && g(e, "disable", a[10]), (!n || p & 512) && g(e, "hide", a[9]), (!n || p & 1) && g(e, "withAnimation", a[0]);
81
128
  },
82
- i(r) {
83
- o || (d(n), d(f), o = !0);
129
+ i(a) {
130
+ n || (u(o), u(m), n = !0);
84
131
  },
85
- o(r) {
86
- c(n), c(f), o = !1;
132
+ o(a) {
133
+ c(o), c(m), n = !1;
87
134
  },
88
- d(r) {
89
- r && V(t), n && n.d(), f && f.d();
135
+ d(a) {
136
+ a && V(e), o && o.d(), m && m.d();
90
137
  }
91
138
  };
92
139
  }
93
- function $(i, t, e) {
94
- let a, o, n, f, r, l, b, h, _, { withAnimation: S = !1 } = t, { tag: s } = t, { mediaStore: w } = t, { state: v } = t, { temporaryState: y } = t;
140
+ function $(i, e, t) {
141
+ let r, n, o, m, a, p, b, h, _, { withAnimation: S = !1 } = e, { tag: f } = e, { mediaStore: w } = e, { state: v } = e, { temporaryState: y } = e;
95
142
  const K = W("hooks");
96
- return i.$$set = (u) => {
97
- "withAnimation" in u && e(0, S = u.withAnimation), "tag" in u && e(1, s = u.tag), "mediaStore" in u && e(2, w = u.mediaStore), "state" in u && e(3, v = u.state), "temporaryState" in u && e(4, y = u.temporaryState);
143
+ return i.$$set = (l) => {
144
+ "withAnimation" in l && t(0, S = l.withAnimation), "tag" in l && t(1, f = l.tag), "mediaStore" in l && t(2, w = l.mediaStore), "state" in l && t(3, v = l.state), "temporaryState" in l && t(4, y = l.temporaryState);
98
145
  }, i.$$.update = () => {
99
- var u, k, T, A, P, z, C, I;
100
- i.$$.dirty & 2 && e(13, a = (() => !(s.contentType === "Link" || s.contentType === "Audio" && s.data.appearance === "plane"))()), i.$$.dirty & 2 && e(12, o = (() => s.stickType === "2DPoint")()), i.$$.dirty & 2 && e(11, n = s.id), i.$$.dirty & 2 && e(10, f = !((u = s.pointTagStyle) != null && u.leftPercent) || !((k = s.pointTagStyle) != null && k.topPercent) || s.enabled === !1 || !s.state), i.$$.dirty & 2 && e(9, r = !((T = s.state) != null && T.visible) || ((A = s.temporaryState) == null ? void 0 : A.visible) === !1), i.$$.dirty & 2 && e(8, l = (P = s.state) == null ? void 0 : P.unfolded), i.$$.dirty & 2 && e(7, b = ((z = s.pointTagStyle) == null ? void 0 : z.leftPercent) + "%"), i.$$.dirty & 2 && e(6, h = ((C = s.pointTagStyle) == null ? void 0 : C.topPercent) + "%"), i.$$.dirty & 2 && e(5, _ = (I = s.state) != null && I.unfolded ? 1 : 0);
146
+ var l, k, T, A, P, z, C, I;
147
+ i.$$.dirty & 2 && t(13, r = (() => !(f.contentType === "Link" || f.contentType === "Audio" && f.data.appearance === "plane"))()), i.$$.dirty & 2 && t(12, n = (() => f.stickType === "2DPoint")()), i.$$.dirty & 2 && t(11, o = f.id), i.$$.dirty & 2 && t(10, m = !((l = f.pointTagStyle) != null && l.leftPercent) || !((k = f.pointTagStyle) != null && k.topPercent) || f.enabled === !1 || !f.state), i.$$.dirty & 2 && t(9, a = !((T = f.state) != null && T.visible) || ((A = f.temporaryState) == null ? void 0 : A.visible) === !1), i.$$.dirty & 2 && t(8, p = (P = f.state) == null ? void 0 : P.unfolded), i.$$.dirty & 2 && t(7, b = ((z = f.pointTagStyle) == null ? void 0 : z.leftPercent) + "%"), i.$$.dirty & 2 && t(6, h = ((C = f.pointTagStyle) == null ? void 0 : C.topPercent) + "%"), i.$$.dirty & 2 && t(5, _ = (I = f.state) != null && I.unfolded ? 1 : 0);
101
148
  }, [
102
149
  S,
103
- s,
150
+ f,
104
151
  w,
105
152
  v,
106
153
  y,
107
154
  _,
108
155
  h,
109
156
  b,
110
- l,
111
- r,
112
- f,
113
- n,
114
- o,
157
+ p,
115
158
  a,
159
+ m,
160
+ o,
161
+ n,
162
+ r,
116
163
  K
117
164
  ];
118
165
  }
119
- class oe extends M {
120
- constructor(t) {
166
+ class xt extends M {
167
+ constructor(e) {
121
168
  super(), N(
122
169
  this,
123
- t,
170
+ e,
124
171
  $,
125
172
  x,
126
173
  O,
@@ -136,5 +183,5 @@ class oe extends M {
136
183
  }
137
184
  }
138
185
  export {
139
- oe as TagItem
186
+ xt as default
140
187
  };
@@ -2,7 +2,8 @@ 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
- class p extends I {
5
+ import "../../shared-utils/Subscribe.js";
6
+ class w extends I {
6
7
  constructor(e) {
7
8
  super(e);
8
9
  f(this, "tagCacheByPanoIndex", {});
@@ -27,5 +28,5 @@ class p extends I {
27
28
  }
28
29
  }
29
30
  export {
30
- p as TagCacheController
31
+ w as TagCacheController
31
32
  };
@@ -14,13 +14,16 @@ var y = (u, c, e) => (T(u, typeof c != "symbol" ? c + "" : c, e), e);
14
14
  import P from "object-assign-deep";
15
15
  import * as I from "three";
16
16
  import { DefaultConfig as E } from "../tag.config.js";
17
- import { is3DTag as V, isPointTag as R } from "../utils/tag/tagCheck.js";
17
+ import { is3DTag as R, isPointTag as V } from "../utils/tag/tagCheck.js";
18
18
  import { arrayPositionToVector3 as M, anyPositionToVector3 as S } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
19
19
  import { planeNormal as $ } from "../utils/planeNormal.js";
20
20
  import { tagPosition as C } from "../utils/tagPosition.js";
21
21
  import { checkRange as v } from "../utils/checkRange.js";
22
22
  import { TagCacheController as z } from "./TagCacheController.js";
23
- class q extends z {
23
+ import "../../CSS3DRenderPlugin/utils/centerPoint.js";
24
+ import "../../base/BasePlugin.js";
25
+ import "../../shared-utils/Subscribe.js";
26
+ class Y extends z {
24
27
  constructor(e) {
25
28
  super(e);
26
29
  y(this, "tags", []);
@@ -64,7 +67,7 @@ class q extends z {
64
67
  return !0;
65
68
  if (o.visiblePanoIndex !== void 0 && o.visiblePanoIndex !== "all" && s !== void 0 && (Array.isArray(o.visiblePanoIndex) && !o.visiblePanoIndex.includes(s) || o.visiblePanoIndex === "current" && s !== ((p = e.fiveState) == null ? void 0 : p.panoIndex)) || o.visibleDistance !== void 0 && o.visibleDistance !== "unLimited" && v(a, o.visibleDistance) === !1)
66
69
  return !1;
67
- if (o.intersectRaycaster !== !1 && o.intersectRaycaster) {
70
+ if (o.intersectRaycaster !== !1 && (typeof o.intersectRaycaster != "object" || o.intersectRaycaster.enabled !== !1)) {
68
71
  if (s === void 0)
69
72
  return !1;
70
73
  const r = (f = this.five.work.observers[s]) == null ? void 0 : f.position;
@@ -79,7 +82,7 @@ class q extends z {
79
82
  if (g && g.distance + b < a)
80
83
  return !1;
81
84
  }
82
- return !(o.angleRange && V(e) && v(this.getAngle(e), o.angleRange) === !1);
85
+ return !(o.angleRange && R(e) && v(this.getAngle(e), o.angleRange) === !1);
83
86
  })();
84
87
  return i.visible = l, i.visible;
85
88
  }
@@ -161,7 +164,7 @@ class q extends z {
161
164
  const a = (o = (l = this.five.work) == null ? void 0 : l.observers[i]) == null ? void 0 : o.position;
162
165
  if (a === void 0)
163
166
  throw new Error(`getDistance(): observerPosition is ${a}`);
164
- const d = (() => R(e) ? M(e == null ? void 0 : e.position) : C(e.position))(), p = a.distanceTo(d);
167
+ const d = (() => V(e) ? M(e == null ? void 0 : e.position) : C(e.position))(), p = a.distanceTo(d);
165
168
  return s.distance = p, p;
166
169
  }
167
170
  }
@@ -280,5 +283,5 @@ class q extends z {
280
283
  }
281
284
  }
282
285
  export {
283
- q as TagComputer
286
+ Y as TagComputer
284
287
  };
@@ -1,4 +1,4 @@
1
- import type { Tag, PartialDeep, TagId, Tags, State, AddTagConfig } from '../typings';
1
+ import type { Tag, PartialDeep, TagId, Tags, State, AddTagConfig, LoadTagConfig } from '../typings';
2
2
  import type { TagContentType } from '..';
3
3
  import type { ArrayPosition } from '../typings';
4
4
  import { Five } from '@realsee/five';
@@ -35,7 +35,7 @@ declare class PanoTagPluginController extends TagComputer {
35
35
  /**
36
36
  * @description: 加载数据
37
37
  */
38
- load(data: Tags, config?: AddTagConfig): void;
38
+ load(data: Tags, config?: LoadTagConfig): void;
39
39
  /**
40
40
  * @description: 添加标签
41
41
  */