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

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 +1 -1
  4. package/dist/index.js +3 -6
  5. package/dist/index.umd.js +1 -1
  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 +17 -13
  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
@@ -2,38 +2,38 @@ var S = Object.defineProperty, y = Object.defineProperties;
2
2
  var P = Object.getOwnPropertyDescriptors;
3
3
  var T = Object.getOwnPropertySymbols;
4
4
  var w = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
5
- var u = (h, a, e) => a in h ? S(h, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[a] = e, f = (h, a) => {
5
+ var g = (h, a, e) => a in h ? S(h, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : h[a] = e, p = (h, a) => {
6
6
  for (var e in a || (a = {}))
7
- w.call(a, e) && u(h, e, a[e]);
7
+ w.call(a, e) && g(h, e, a[e]);
8
8
  if (T)
9
9
  for (var e of T(a))
10
- E.call(a, e) && u(h, e, a[e]);
10
+ E.call(a, e) && g(h, e, a[e]);
11
11
  return h;
12
- }, c = (h, a) => y(h, P(a));
13
- var d = (h, a, e) => (u(h, typeof a != "symbol" ? a + "" : a, e), e);
14
- var p = (h, a, e) => new Promise((t, i) => {
15
- var s = (n) => {
12
+ }, m = (h, a) => y(h, P(a));
13
+ var d = (h, a, e) => (g(h, typeof a != "symbol" ? a + "" : a, e), e);
14
+ var f = (h, a, e) => new Promise((t, i) => {
15
+ var s = (r) => {
16
16
  try {
17
- r(e.next(n));
17
+ n(e.next(r));
18
18
  } catch (l) {
19
19
  i(l);
20
20
  }
21
- }, o = (n) => {
21
+ }, o = (r) => {
22
22
  try {
23
- r(e.throw(n));
23
+ n(e.throw(r));
24
24
  } catch (l) {
25
25
  i(l);
26
26
  }
27
- }, r = (n) => n.done ? t(n.value) : Promise.resolve(n.value).then(s, o);
28
- r((e = e.apply(h, a)).next());
27
+ }, n = (r) => r.done ? t(r.value) : Promise.resolve(r.value).then(s, o);
28
+ n((e = e.apply(h, a)).next());
29
29
  });
30
30
  import { Subscribe as F } from "@realsee/five";
31
31
  import { Quaternion as k } from "three";
32
- import v from "object-assign-deep";
32
+ import u from "object-assign-deep";
33
33
  import { writable as R } from "../../vendor/svelte/store/index.js";
34
- import { TagContainer as U } from "../Components/TagContainer.js";
35
- import { Tag as L } from "../Components/Tag/index.js";
36
- import { arrayPositionToVector3 as g } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
34
+ import U from "../Components/TagContainer.js";
35
+ import L from "../Components/Tag/index.js";
36
+ import { arrayPositionToVector3 as c } from "../../CSS3DRenderPlugin/utils/positionToVector3.js";
37
37
  import { addDebugPoints as O } from "../utils/addDebugPoints.js";
38
38
  import { planeNormal as I } from "../utils/planeNormal.js";
39
39
  import { actionAfterFiveModelLoad as B } from "../utils/actionAfterFiveModelLoad.js";
@@ -43,9 +43,81 @@ import { throttle as V } from "../utils/throttle.js";
43
43
  import { resizeObserver as D } from "../utils/resizeObserver.js";
44
44
  import { TagComputer as z } from "./TagComputer.js";
45
45
  import { CSS3DRenderPlugin as N } from "../../CSS3DRenderPlugin/index.js";
46
- import { formatTag as W } from "../utils/tag/format.js";
47
- const A = "2.0.0-dev.9", m = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, ae = (h) => `${m}--${h}`;
48
- class he extends z {
46
+ import W from "../utils/tag/format.js";
47
+ import "../../vendor/svelte/internal/index.js";
48
+ import "../Components/TagItem.js";
49
+ import "../utils/noTypecheck.js";
50
+ import "../Components/Common/TagPoint.js";
51
+ import "../Components/Common/Shadow.js";
52
+ import "../../vendor/svelte/transition/index.js";
53
+ import "../../vendor/svelte/easing/index.js";
54
+ import "../Components/Common/Icon/Icon.js";
55
+ import "../utils/getImageInfo.js";
56
+ import "../utils/px2rem.js";
57
+ import "../Assets/Icon.js";
58
+ import "../Components/Tag/TextTag/index.js";
59
+ import "../Components/Tag/TextTag/TextTag.js";
60
+ import "../Components/Common/Line/Straight.js";
61
+ import "../../shared-utils/uuid.js";
62
+ import "../Components/Common/Text/FlyMText.js";
63
+ import "../Components/Common/Text/FlyText.js";
64
+ import "animejs";
65
+ import "../../shared-utils/isNil.js";
66
+ import "../utils/search.js";
67
+ import "../utils/constants.js";
68
+ import "../Components/Common/Arrow.js";
69
+ import "../utils/doUtil.js";
70
+ import "../Components/Tag/TextTag/TextPlaneTag.js";
71
+ import "../Components/Common/Text/MText.js";
72
+ import "../Components/Tag/ImageTextTag.js";
73
+ import "../Components/Common/Line/Polyline.js";
74
+ import "../Components/Common/Media.js";
75
+ import "../../vendor/swiper/svelte/swiper.js";
76
+ import "swiper";
77
+ import "../../vendor/swiper/components-shared/get-params.js";
78
+ import "../../vendor/swiper/components-shared/utils.js";
79
+ import "../../vendor/swiper/components-shared/params-list.js";
80
+ import "../../vendor/swiper/components-shared/mount-swiper.js";
81
+ import "../../vendor/swiper/components-shared/get-changed-params.js";
82
+ import "../../vendor/swiper/components-shared/update-swiper.js";
83
+ import "../../vendor/swiper/svelte/swiper-slide.js";
84
+ import "swiper/css";
85
+ import "swiper/css/autoplay";
86
+ import "../Components/Common/MediaItem.js";
87
+ import "../Components/Tag/MarketingTag.js";
88
+ import "../Components/Tag/AudioTag/index.js";
89
+ import "../Components/Tag/AudioTag/AudioTag.js";
90
+ import "../Components/Common/Audio.js";
91
+ import "../Components/Common/Icon/audioIcon.js";
92
+ import "../Components/Tag/AudioTag/AudioPlaneTag.js";
93
+ import "../utils/timeToString.js";
94
+ import "../utils/color.js";
95
+ import "../Components/Tag/MediaPlane.js";
96
+ import "../Components/Tag/LinkTag.js";
97
+ import "../Components/Tag/CustomTag.js";
98
+ import "../tag.config.js";
99
+ import "../utils/tag/tagCheck.js";
100
+ import "../utils/tagPosition.js";
101
+ import "../../CSS3DRenderPlugin/utils/centerPoint.js";
102
+ import "../utils/checkRange.js";
103
+ import "./TagCacheController.js";
104
+ import "../../base/BasePlugin.js";
105
+ import "../../shared-utils/Subscribe.js";
106
+ import "../../CSS3DRenderPlugin/Controller.js";
107
+ import "../../CSS3DRenderPlugin/CSS3DRender.js";
108
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DRenderer.js";
109
+ import "three/examples/jsm/renderers/CSS3DRenderer";
110
+ import "../../CSS3DRenderPlugin/utils/getAllCSS3DObject.js";
111
+ import "../../CSS3DRenderPlugin/utils/createResizeObserver.js";
112
+ import "../../CSS3DRenderPlugin/utils/even.js";
113
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DObject.js";
114
+ import "../../CSS3DRenderPlugin/utils/three/OpacityMesh.js";
115
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DScene.js";
116
+ import "../../CSS3DRenderPlugin/utils/three/CSS3DGroup.js";
117
+ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
118
+ import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
119
+ const A = "2.0.0-dev.10", v = `DnalogelPlugin-PanoTagPlugin@${A}`, $ = !1, Pt = (h) => `${v}--${h}`;
120
+ class wt extends z {
49
121
  constructor(e, t) {
50
122
  super(e);
51
123
  d(this, "version", A);
@@ -66,39 +138,36 @@ class he extends z {
66
138
  css3DRenderDisposer: /* @__PURE__ */ new Map()
67
139
  });
68
140
  d(this, "disposedErrorLog", () => {
69
- console.error(`${m} is disposed`);
141
+ console.error(`${v} is disposed`);
70
142
  });
71
- this.params = f({
72
- debug: !1,
73
- config: this.config
74
- }, t), this.debug = this.params.debug, this.config = this.params.config, Object.assign(window, { __PANOTAGPLUGIN_DEBUG__: this });
143
+ this.params = p({ debug: !1, config: this.config }, t), this.debug = this.params.debug, this.config = this.params.config, Object.assign(window, { [`__PANOTAGPLUGIN_DEBUG_${Date.now()}__`]: this });
75
144
  }
76
145
  load(e, t) {
77
146
  var i, s;
78
- this.clearTags(), console.log(m, " load:", { data: e }), this.config = v({}, this.config, {
147
+ this.clearTags(), console.log(v, " load:", { data: e }), this.config = u({}, this.config, {
79
148
  globalConfig: (i = e.globalConfig) != null ? i : {},
80
149
  contentTypeConfig: (s = e.contentTypeConfig) != null ? s : {}
81
150
  }), this.addTag(e.tagList, t), this.debug && O(this.five, this.tags);
82
151
  }
83
152
  addTag(e, t) {
84
153
  const s = (Array.isArray(e) ? e : [e]).map((o) => {
85
- const r = this.getTagConfig(o);
86
- return c(f({}, o), {
87
- state: f({ visible: void 0, unfolded: $ }, r.initialState),
154
+ const n = this.getTagConfig(o);
155
+ return m(p({}, o), {
156
+ state: p({ visible: void 0, unfolded: $ }, n.initialState),
88
157
  hooks: new F(),
89
- clickable: r.clickable
158
+ clickable: n.clickable
90
159
  });
91
160
  }).filter((o) => o.position);
92
161
  s.forEach(W), this.tags.push(...s), B(this.five, () => {
93
- var o, r, n;
94
- this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (n = t == null ? void 0 : t.withAnimation) != null ? n : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
162
+ var o, n, r;
163
+ this.store.eventListenerDisposer && ((n = (o = this.store).eventListenerDisposer) == null || n.call(o)), this.state.enabled && (this.store.eventListenerDisposer = this.addEventListener()), this.addResizeListener(), this.checkPanelTag(), this.setVisibleAndUnfolded({ withAnimation: (r = t == null ? void 0 : t.withAnimation) != null ? r : !0 }).then(() => this.updateRenderAllTags()), this.updateRenderAllTags();
95
164
  });
96
165
  }
97
166
  clearTags() {
98
167
  this.tags = [], this.clearCache(), this.disposeAllCSS3DContainer(), this.updateRenderAllTags();
99
168
  }
100
169
  show(e) {
101
- return p(this, null, function* () {
170
+ return f(this, null, function* () {
102
171
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
103
172
  if (this.store.disposed)
104
173
  return this.disposedErrorLog();
@@ -106,7 +175,7 @@ class he extends z {
106
175
  });
107
176
  }
108
177
  hide(e) {
109
- return p(this, null, function* () {
178
+ return f(this, null, function* () {
110
179
  const { userAction: t = !0, withAnimation: i = !1 } = e != null ? e : {};
111
180
  if (this.store.disposed)
112
181
  return this.disposedErrorLog();
@@ -126,16 +195,16 @@ class he extends z {
126
195
  this.setState({ enabled: !1 }, { userAction: t }), this.hooks.emit("disable", { userAction: t });
127
196
  }
128
197
  dispose() {
129
- var e, t, i, s, o, r;
130
- this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((n) => {
198
+ var e, t, i, s, o, n;
199
+ this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filter3DTag().forEach((r) => {
131
200
  var l;
132
- return (l = n.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
133
- }), this.tags = [], (t = this.store.disposers) == null || t.forEach((n) => n == null ? void 0 : n()), this.store.disposers = [], this.store.disposed = !0, (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (r = (o = this.store).resizeObserverDisposer) == null || r.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.clearCache(), this.hooks.emit("dispose");
201
+ return (l = r.tag3DContentSvelte) == null ? void 0 : l.svelteApp.$destroy();
202
+ }), this.tags = [], (t = this.store.disposers) == null || t.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], this.store.disposed = !0, (s = (i = this.store).eventListenerDisposer) == null || s.call(i), this.store.eventListenerDisposer = void 0, (n = (o = this.store).resizeObserverDisposer) == null || n.call(o), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.clearCache(), this.hooks.emit("dispose");
134
203
  }
135
204
  setState(e, t) {
136
205
  if (this.store.disposed)
137
206
  return this.disposedErrorLog();
138
- const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = f({}, this.state);
207
+ const { userAction: i = !0, visibleWithAnimation: s = !1 } = t, o = p({}, this.state);
139
208
  this.state = Object.assign(this.state, e), this.store.visibleWithAnimation = s, o.visible !== this.state.visible && (e.visible ? this.handleShow() : this.handleHide()), o.enabled !== this.state.enabled && (e.enabled ? this.handleEnable() : this.handleDisable()), this.hooks.emit("stateChange", { state: this.state, prevState: o, userAction: i });
140
209
  }
141
210
  changeUnfoldedById(e, t) {
@@ -149,18 +218,18 @@ class he extends z {
149
218
  }
150
219
  changeTagNormalById(e, t) {
151
220
  const i = this.getTagById(e);
152
- !i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = g(t), this.updateRenderPlaneTag());
221
+ !i || !i.tag3DContentSvelte || (i.tag3DContentSvelte.currentNormal = c(t), this.updateRenderPlaneTag());
153
222
  }
154
223
  changeDataById(e, t, i = !0) {
155
224
  const s = this.getTagById(e);
156
- !s || (i ? s.data = v({}, s.data, t) : s.data = f(f({}, s.data), t), this.checkPanelTag(), this.updateRenderAllTags());
225
+ !s || (i ? s.data = u({}, s.data, t) : s.data = p(p({}, s.data), t), this.checkPanelTag(), this.updateRenderAllTags());
157
226
  }
158
227
  changeStickTypeById(e, t, i = !0) {
159
228
  this.changeTagById(e, t, i);
160
229
  }
161
230
  changeTagById(e, t, i = !0) {
162
231
  const s = this.getTagById(e);
163
- !t || (i ? v(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = g(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
232
+ !t || (i ? u(s, t) : Object.assign(s, t), (s == null ? void 0 : s.tag3DContentSvelte) && (t == null ? void 0 : t.normal) && (s.tag3DContentSvelte.currentNormal = c(t.normal)), this.updateRenderAllTags(), this.checkPanelTag());
164
233
  }
165
234
  destroyTagById(e) {
166
235
  (Array.isArray(e) ? e : [e]).forEach((i) => {
@@ -172,7 +241,7 @@ class he extends z {
172
241
  this.mediaStore.set({ currentMediaElement: null });
173
242
  }
174
243
  setVisibleAndUnfolded() {
175
- return p(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
244
+ return f(this, arguments, function* ({ withAnimation: e } = { withAnimation: !1 }) {
176
245
  if (!!this.isPanorama)
177
246
  return this.setVisibleByPanoIndex(), e ? new Promise((t, i) => {
178
247
  setTimeout(() => {
@@ -198,9 +267,9 @@ class he extends z {
198
267
  });
199
268
  }
200
269
  addEventListener() {
201
- const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), r = this.handleFiveCameraUpdateDebounce(), n = this.handleFivePanoArrived.bind(this), l = this.loadVideoFirstFrame.bind(this), b = this.clickhandler.bind(this);
202
- return this.five.currentMode && (this.isPanorama ? (this.handleFivePanoArrived(), this.temporaryShow({ withAnimation: !0 })) : this.temporaryHide()), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("cameraUpdate", o), e.on("cameraUpdate", r), e.on("panoArrived", n), e.on("panoArrived", l), t.on("click", b), () => {
203
- e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("cameraUpdate", o), e.off("cameraUpdate", r), e.off("panoArrived", n), e.off("panoArrived", l), t.off("click", b), this.store.eventListenerDisposer = void 0;
270
+ const { five: e, hooks: t } = this, i = this.handleFiveWantsMoveToPano.bind(this), s = this.handleFiveModeChange.bind(this), o = this.handleFiveCameraUpdate.bind(this), n = this.handleFiveCameraUpdateDebounce(), r = this.handleFivePanoArrived.bind(this), l = this.loadVideoFirstFrame.bind(this), b = this.clickhandler.bind(this);
271
+ return this.five.currentMode && (this.isPanorama ? (this.handleFivePanoArrived(), this.temporaryShow({ withAnimation: !0 })) : this.temporaryHide()), e.on("wantsMoveToPano", i), e.on("modeChange", s), e.on("cameraUpdate", o), e.on("cameraUpdate", n), e.on("panoArrived", r), e.on("panoArrived", l), t.on("click", b), () => {
272
+ e.off("wantsMoveToPano", i), e.off("modeChange", s), e.off("cameraUpdate", o), e.off("cameraUpdate", n), e.off("panoArrived", r), e.off("panoArrived", l), t.off("click", b), this.store.eventListenerDisposer = void 0;
204
273
  };
205
274
  }
206
275
  loadVideoFirstFrame() {
@@ -226,12 +295,12 @@ class he extends z {
226
295
  !this.store.resizeObserverDisposer || i();
227
296
  }, 500),
228
297
  e
229
- ), { observe: r, unobserve: n } = D(
298
+ ), { observe: n, unobserve: r } = D(
230
299
  C(() => t(), 400),
231
300
  e
232
301
  );
233
- return s(), r(), () => {
234
- o(), n();
302
+ return s(), n(), () => {
303
+ o(), r();
235
304
  };
236
305
  }
237
306
  handleFiveModeChange(e) {
@@ -240,7 +309,7 @@ class he extends z {
240
309
  handleFiveWantsMoveToPano() {
241
310
  this.tags.forEach((e) => {
242
311
  const t = this.getTagConfig(e);
243
- typeof t.visibleConfig == "object" && (t.visibleConfig.keep ? e.temporaryState = c(f({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : e.temporaryState = c(f({}, e.temporaryState), { visible: Boolean(t.visibleConfig.alwaysShowWhenMovePano) }));
312
+ typeof t.visibleConfig == "object" && (t.visibleConfig.keep ? e.temporaryState = m(p({}, e.temporaryState), { visible: t.visibleConfig.keep === "visible" }) : e.temporaryState = m(p({}, e.temporaryState), { visible: Boolean(t.visibleConfig.alwaysShowWhenMovePano) }));
244
313
  }), this.updateTagContainerVisible();
245
314
  }
246
315
  temporaryShow({ withAnimation: e } = { withAnimation: !1 }) {
@@ -286,9 +355,9 @@ class he extends z {
286
355
  this.updateRenderPointTag();
287
356
  }
288
357
  handleFivePanoArrived() {
289
- return p(this, null, function* () {
358
+ return f(this, null, function* () {
290
359
  yield this.setVisibleAndUnfolded(), this.tags.forEach((e) => {
291
- e.temporaryState = c(f({}, e.temporaryState), { visible: !0 });
360
+ e.temporaryState = m(p({}, e.temporaryState), { visible: !0 });
292
361
  }), this.store.visibleWithAnimation = !0, this.updateTagContainerVisible();
293
362
  });
294
363
  }
@@ -321,14 +390,14 @@ class he extends z {
321
390
  this.sort([...this.filterPlaneTag(), ...this.filter3DPointTag()]).forEach((t) => {
322
391
  var i;
323
392
  if (t.tag3DContentSvelte) {
324
- const { svelteApp: s, domContainer: o, initialNormal: r, currentNormal: n } = t.tag3DContentSvelte;
393
+ const { svelteApp: s, domContainer: o, initialNormal: n, currentNormal: r } = t.tag3DContentSvelte;
325
394
  if (s.$set({
326
395
  tag: t,
327
396
  hooks: this.hooks,
328
397
  state: this.state,
329
398
  temporaryState: this.temporaryState
330
- }), !r.equals(n)) {
331
- const l = new k().setFromUnitVectors(r, n);
399
+ }), !n.equals(r)) {
400
+ const l = new k().setFromUnitVectors(n, r);
332
401
  o.css3DObject.setRotationFromQuaternion(l);
333
402
  }
334
403
  } else {
@@ -336,12 +405,12 @@ class he extends z {
336
405
  return;
337
406
  if (this.css3DRenderPlugin || (this.css3DRenderPlugin = N(this.five)), t.stickType === "3DPoint" && !t.normal)
338
407
  return console.error("updateRenderPlaneTag: \u4E09\u7EF4\u70B9\u6807\u7B7E\u7F3A\u5C11\u6CD5\u5411\u91CF\uFF01");
339
- const s = t.stickType === "Plane" ? t.position : M(this.five.camera.position, g(t.position), g(t.normal)), o = t.stickType === "Plane" ? I(t.position) : g(t.normal), r = this.getTagConfig(t).tag3DConfig, n = this.css3DRenderPlugin.create3DDomContainer(s, r);
340
- if (!n)
408
+ const s = t.stickType === "Plane" ? t.position : M(this.five.camera.position, c(t.position), c(t.normal)), o = t.stickType === "Plane" ? I(t.position) : c(t.normal), n = this.getTagConfig(t).tag3DConfig, r = this.css3DRenderPlugin.create3DDomContainer(s, n);
409
+ if (!r)
341
410
  return;
342
- this.store.css3DRenderDisposer.set(t.id, n.dispose), t.tag3DContentSvelte = {
411
+ this.store.css3DRenderDisposer.set(t.id, r.dispose), t.tag3DContentSvelte = {
343
412
  svelteApp: new L({
344
- target: n.container,
413
+ target: r.container,
345
414
  props: {
346
415
  tag: t,
347
416
  hooks: this.hooks,
@@ -350,7 +419,7 @@ class he extends z {
350
419
  temporaryState: this.temporaryState
351
420
  }
352
421
  }),
353
- domContainer: n,
422
+ domContainer: r,
354
423
  initialNormal: o,
355
424
  currentNormal: o
356
425
  };
@@ -374,6 +443,7 @@ class he extends z {
374
443
  }
375
444
  }
376
445
  export {
377
- he as PanoTagPluginController,
378
- ae as pluginFlag
446
+ wt as PanoTagPluginController,
447
+ wt as default,
448
+ Pt as pluginFlag
379
449
  };
@@ -1,5 +1,5 @@
1
- import { PanoTagPluginController as t } from "./controller/index.js";
2
- import { PanoTagPluginController as Qo, pluginFlag as Ro } from "./controller/index.js";
1
+ import t from "./controller/index.js";
2
+ import { default as Qo, pluginFlag as Ro } from "./controller/index.js";
3
3
  import { ContentType as Uo } from "./typings/tag/TagData.js";
4
4
  import { DimensionType as Wo, PointType as Xo } from "./typings/tag/Utils.js";
5
5
  import "@realsee/five";
@@ -0,0 +1,4 @@
1
+ declare const data: {
2
+ tagList: any[];
3
+ };
4
+ export default data;
@@ -0,0 +1,6 @@
1
+ const t = {
2
+ tagList: []
3
+ };
4
+ export {
5
+ t as default
6
+ };
@@ -0,0 +1,93 @@
1
+ declare const _default: ({
2
+ id: number;
3
+ pointType: string;
4
+ dimensionType: string;
5
+ position: number[];
6
+ normal: number[];
7
+ style: {
8
+ point: {
9
+ iconUrl: string;
10
+ style: string;
11
+ };
12
+ style: string;
13
+ };
14
+ contentType: string;
15
+ data: {
16
+ text: string;
17
+ extraData: {
18
+ baseNormal: number[];
19
+ fiveState: {
20
+ distance: number;
21
+ fov: number;
22
+ latitude: number;
23
+ longitude: number;
24
+ mode: string;
25
+ offset: {
26
+ x: number;
27
+ y: number;
28
+ z: number;
29
+ };
30
+ panoIndex: number;
31
+ };
32
+ style: {
33
+ point: {
34
+ iconUrl: string;
35
+ style: string;
36
+ };
37
+ style: string;
38
+ };
39
+ tagClosedStyle: string;
40
+ tagIconUrl: string;
41
+ };
42
+ mediaData?: undefined;
43
+ };
44
+ } | {
45
+ id: number;
46
+ pointType: string;
47
+ dimensionType: string;
48
+ position: number[];
49
+ normal: number[];
50
+ style: {
51
+ point: {
52
+ iconUrl: string;
53
+ style: string;
54
+ };
55
+ style?: undefined;
56
+ };
57
+ contentType: string;
58
+ data: {
59
+ text: string;
60
+ mediaData: {
61
+ type: string;
62
+ url: string;
63
+ videoCoverUrl: string;
64
+ name: string;
65
+ }[];
66
+ extraData: {
67
+ baseNormal: number[];
68
+ fiveState: {
69
+ distance: number;
70
+ fov: number;
71
+ latitude: number;
72
+ longitude: number;
73
+ mode: string;
74
+ offset: {
75
+ x: number;
76
+ y: number;
77
+ z: number;
78
+ };
79
+ panoIndex: number;
80
+ };
81
+ style: {
82
+ point: {
83
+ iconUrl: string;
84
+ style: string;
85
+ };
86
+ style?: undefined;
87
+ };
88
+ tagClosedStyle: string;
89
+ tagIconUrl: string;
90
+ };
91
+ };
92
+ })[];
93
+ export default _default;