@realsee/dnalogel 3.65.6 → 3.66.0-alpha.10

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 (509) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +1 -0
  3. package/dist/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +1 -0
  4. package/dist/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +1 -0
  5. package/dist/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +1 -0
  6. package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +1 -0
  7. package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +1 -0
  8. package/dist/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +1 -0
  9. package/dist/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +1 -0
  10. package/dist/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +1 -0
  11. package/dist/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -0
  12. package/dist/PanoTagPlugin/controller/Tag/PointTag.d.ts +3 -0
  13. package/dist/PanoTagPlugin/typings/controller.d.ts +16 -0
  14. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +89 -0
  15. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +5 -0
  16. package/dist/index.cjs.js +82 -79
  17. package/dist/index.js +15490 -13337
  18. package/dist/index.umd.js +73 -70
  19. package/docs/assets/navigation.js +1 -1
  20. package/docs/assets/search.js +1 -1
  21. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +2 -2
  22. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +2 -2
  23. package/docs/classes/CSS3DRender.html +2 -2
  24. package/docs/classes/GuideLineItem.GuideLineItem.html +2 -2
  25. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +2 -2
  26. package/docs/classes/ModelMakerPluginInstance.html +2 -2
  27. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +2 -2
  28. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +2 -2
  29. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +2 -2
  30. package/docs/classes/ModelRoomLabelController.html +2 -2
  31. package/docs/classes/MoveController.html +2 -2
  32. package/docs/classes/Object3DHelperController.html +2 -2
  33. package/docs/classes/PaintBrush.html +2 -2
  34. package/docs/classes/PanoMeasurePluginLine.html +2 -2
  35. package/docs/classes/PanoMeasurePluginModel.html +2 -2
  36. package/docs/classes/PanoMeasurePluginPoint.html +2 -2
  37. package/docs/classes/PanoMeasurePluginPolyline.html +2 -2
  38. package/docs/classes/PanoTagPluginController.html +2 -2
  39. package/docs/classes/Sculpt.html +2 -2
  40. package/docs/classes/Util.BetterTween.html +2 -2
  41. package/docs/classes/Util.FiveDomEvents.html +2 -2
  42. package/docs/classes/Util.FivePuppet.html +2 -2
  43. package/docs/classes/Util.Interval.html +2 -2
  44. package/docs/classes/Util.LegacyPointHelper.html +2 -2
  45. package/docs/classes/Util.LightTag.html +2 -2
  46. package/docs/classes/Util.LineSegments.html +2 -2
  47. package/docs/classes/Util.Magnifier.html +2 -2
  48. package/docs/classes/Util.Object3D.html +2 -2
  49. package/docs/classes/Util.PointDomHelper.html +2 -2
  50. package/docs/classes/Util.PointHelper.html +2 -2
  51. package/docs/classes/Util.PointSelector.html +2 -2
  52. package/docs/classes/Util.PointSelectorHelper.html +2 -2
  53. package/docs/classes/Util.Rectangle.html +2 -2
  54. package/docs/classes/Util.sculpt.BaseEditor.html +2 -2
  55. package/docs/classes/Util.sculpt.BoxMesh.html +2 -2
  56. package/docs/classes/Util.sculpt.BoxMeshEditor.html +2 -2
  57. package/docs/classes/Util.sculpt.CircleMesh.html +2 -2
  58. package/docs/classes/Util.sculpt.CircleMeshEditor.html +2 -2
  59. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +2 -2
  60. package/docs/classes/Util.sculpt.CylinderMesh.html +2 -2
  61. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +2 -2
  62. package/docs/classes/Util.sculpt.LineMesh.html +2 -2
  63. package/docs/classes/Util.sculpt.PointMesh.html +2 -2
  64. package/docs/classes/Util.sculpt.PolygonMesh.html +2 -2
  65. package/docs/classes/Util.sculpt.PrismMesh.html +2 -2
  66. package/docs/classes/Util.sculpt.PrismMeshEditor.html +2 -2
  67. package/docs/classes/Util.sculpt.RectangleMesh.html +2 -2
  68. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +2 -2
  69. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +2 -2
  70. package/docs/classes/WalkController.html +2 -2
  71. package/docs/enums/CameraMovementEffect.html +2 -2
  72. package/docs/enums/ContentType.html +2 -2
  73. package/docs/enums/DIRECTION.html +2 -2
  74. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +2 -2
  75. package/docs/enums/DimensionType.html +2 -2
  76. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +2 -2
  77. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +2 -2
  78. package/docs/enums/PaintBrushTypeEnum.html +2 -2
  79. package/docs/enums/PointType.html +2 -2
  80. package/docs/enums/Rotation.html +2 -2
  81. package/docs/functions/AreaMakerPlugin.html +1 -1
  82. package/docs/functions/CSS3DRenderPlugin.html +1 -1
  83. package/docs/functions/CameraMovementPlugin.html +2 -2
  84. package/docs/functions/CruisePlugin.html +1 -1
  85. package/docs/functions/CurrentPanoImagePlugin.html +1 -1
  86. package/docs/functions/GuideLinePlugin.html +1 -1
  87. package/docs/functions/ItemLabelPlugin.html +1 -1
  88. package/docs/functions/MapviewFloorplanPlugin.html +1 -1
  89. package/docs/functions/MeasurePlugin.html +1 -1
  90. package/docs/functions/ModelChassisCompassPlugin.html +2 -2
  91. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -2
  92. package/docs/functions/ModelFloorplanPlugin.html +1 -1
  93. package/docs/functions/ModelItemLabelPlugin.html +1 -1
  94. package/docs/functions/ModelMakerPlugin.html +1 -1
  95. package/docs/functions/ModelRoomLabelPlugin.html +1 -1
  96. package/docs/functions/ModelTVVideoPlugin.html +1 -1
  97. package/docs/functions/ModelViewPlugin.html +2 -2
  98. package/docs/functions/MovePlugin.html +1 -1
  99. package/docs/functions/Object3DHelperPlugin.html +1 -1
  100. package/docs/functions/PanoCompassPlugin.html +1 -1
  101. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -2
  102. package/docs/functions/PanoDoorLabelPlugin.html +1 -1
  103. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -1
  104. package/docs/functions/PanoMeasurePlugin.html +1 -1
  105. package/docs/functions/PanoRulerPlugin.html +2 -2
  106. package/docs/functions/PanoRulerProPlugin.html +2 -2
  107. package/docs/functions/PanoSpatialTagPlugin.html +2 -2
  108. package/docs/functions/PanoTagPlugin.html +1 -1
  109. package/docs/functions/PanoVideoPlugin.html +2 -2
  110. package/docs/functions/PipelinePlugin.html +1 -1
  111. package/docs/functions/SculptPlugin.html +2 -2
  112. package/docs/functions/TopviewFloorplanPlugin.html +1 -1
  113. package/docs/functions/Util.absoluteUrl.html +2 -2
  114. package/docs/functions/Util.awaitNextFrame.html +1 -1
  115. package/docs/functions/Util.blink.html +2 -2
  116. package/docs/functions/Util.bounding.html +1 -1
  117. package/docs/functions/Util.boundingBox.html +1 -1
  118. package/docs/functions/Util.boundingSphere.html +1 -1
  119. package/docs/functions/Util.boxVertex.html +2 -2
  120. package/docs/functions/Util.boxVertexes.html +1 -1
  121. package/docs/functions/Util.checkFiveModelLoaded.html +2 -2
  122. package/docs/functions/Util.convexHull.html +2 -2
  123. package/docs/functions/Util.equal.html +2 -2
  124. package/docs/functions/Util.fiveModelIsLoaded.html +2 -2
  125. package/docs/functions/Util.getCoordsFromClient.html +1 -1
  126. package/docs/functions/Util.getCoordsFromElement.html +1 -1
  127. package/docs/functions/Util.getFrameTime.html +2 -2
  128. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -1
  129. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -1
  130. package/docs/functions/Util.initialCSS3DRender.html +1 -1
  131. package/docs/functions/Util.inside.html +1 -1
  132. package/docs/functions/Util.isAbsoluteURL.html +1 -1
  133. package/docs/functions/Util.isModelLike.html +1 -1
  134. package/docs/functions/Util.isNil.html +2 -2
  135. package/docs/functions/Util.isPanoramaLike.html +1 -1
  136. package/docs/functions/Util.lookObject.html +2 -2
  137. package/docs/functions/Util.lookPoint.html +2 -2
  138. package/docs/functions/Util.nextFrame.html +1 -1
  139. package/docs/functions/Util.notNil.html +2 -2
  140. package/docs/functions/Util.reblink.html +2 -2
  141. package/docs/functions/Util.requestAnimationFrameInterval.html +2 -2
  142. package/docs/functions/Util.sculpt.createBox.html +1 -1
  143. package/docs/functions/Util.sculpt.createCircle.html +1 -1
  144. package/docs/functions/Util.sculpt.createCylinder.html +1 -1
  145. package/docs/functions/Util.sculpt.createLine.html +2 -2
  146. package/docs/functions/Util.sculpt.createPoint.html +1 -1
  147. package/docs/functions/Util.sculpt.createPolygon.html +1 -1
  148. package/docs/functions/Util.sculpt.createPrism.html +1 -1
  149. package/docs/functions/Util.sculpt.createRectangle.html +2 -2
  150. package/docs/functions/Util.tag.html +1 -1
  151. package/docs/functions/Util.tweenProgress.html +1 -1
  152. package/docs/functions/Util.uuid.html +2 -2
  153. package/docs/functions/Util.waitFiveModelLoaded.html +2 -2
  154. package/docs/functions/Util.worldBounding.html +1 -1
  155. package/docs/functions/Util.worldBoundingBox.html +1 -1
  156. package/docs/functions/Util.worldBoundingSphere.html +1 -1
  157. package/docs/functions/createPolyline.html +2 -2
  158. package/docs/functions/pluginFlag.html +1 -1
  159. package/docs/hierarchy.html +1 -1
  160. package/docs/index.html +2 -2
  161. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +2 -2
  162. package/docs/interfaces/AreaMakerPluginType.Config.html +2 -2
  163. package/docs/interfaces/AreaMakerPluginType.EventMap.html +2 -2
  164. package/docs/interfaces/AreaMakerPluginType.Params.html +2 -2
  165. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +2 -2
  166. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +2 -2
  167. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +2 -2
  168. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +2 -2
  169. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +2 -2
  170. package/docs/interfaces/AreaMakerPluginType.State.html +2 -2
  171. package/docs/interfaces/CSS3DRenderPluginEventMap.html +2 -2
  172. package/docs/interfaces/CSS3DRenderPluginState.html +2 -2
  173. package/docs/interfaces/CameraMovementPluginExportType.html +2 -2
  174. package/docs/interfaces/ContentTypeMapInterface.html +2 -2
  175. package/docs/interfaces/CruisePluginTypes.Config.html +2 -2
  176. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +2 -2
  177. package/docs/interfaces/CruisePluginTypes.EventMap.html +2 -2
  178. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +2 -2
  179. package/docs/interfaces/CruisePluginTypes.MoveAction.html +2 -2
  180. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +2 -2
  181. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +2 -2
  182. package/docs/interfaces/CruisePluginTypes.PluginData.html +2 -2
  183. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -2
  184. package/docs/interfaces/CruisePluginTypes.PluginState.html +2 -2
  185. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +2 -2
  186. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +2 -2
  187. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +2 -2
  188. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +2 -2
  189. package/docs/interfaces/CurrentPanoImagePluginType.State.html +2 -2
  190. package/docs/interfaces/FloorplanBounding.html +2 -2
  191. package/docs/interfaces/FloorplanData.html +2 -2
  192. package/docs/interfaces/FloorplanEntrance.html +2 -2
  193. package/docs/interfaces/FloorplanExtraObject.html +2 -2
  194. package/docs/interfaces/FloorplanExtraObject3D.html +2 -2
  195. package/docs/interfaces/FloorplanFloorData.html +2 -2
  196. package/docs/interfaces/FloorplanImagePosition.html +2 -2
  197. package/docs/interfaces/FloorplanObserver.html +2 -2
  198. package/docs/interfaces/FloorplanOutlineItem.html +2 -2
  199. package/docs/interfaces/FloorplanPosition.html +2 -2
  200. package/docs/interfaces/FloorplanRoomItem.html +2 -2
  201. package/docs/interfaces/FloorplanRoomLabelItem.html +2 -2
  202. package/docs/interfaces/FloorplanServerBounding.html +2 -2
  203. package/docs/interfaces/FloorplanServerComputedData.html +2 -2
  204. package/docs/interfaces/FloorplanServerData.html +2 -2
  205. package/docs/interfaces/FloorplanServerDoorItem.html +2 -2
  206. package/docs/interfaces/FloorplanServerDoorPosition.html +2 -2
  207. package/docs/interfaces/FloorplanServerEntrance.html +2 -2
  208. package/docs/interfaces/FloorplanServerFloorData.html +2 -2
  209. package/docs/interfaces/FloorplanServerImagePosition.html +2 -2
  210. package/docs/interfaces/FloorplanServerObserver.html +2 -2
  211. package/docs/interfaces/FloorplanServerOutlineItem.html +2 -2
  212. package/docs/interfaces/FloorplanServerPosition.html +2 -2
  213. package/docs/interfaces/FloorplanServerRoomItem.html +2 -2
  214. package/docs/interfaces/FloorplanServerRoomLabelItem.html +2 -2
  215. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +2 -2
  216. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +2 -2
  217. package/docs/interfaces/GuideLinePluginType.EventMap.html +2 -2
  218. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +2 -2
  219. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +2 -2
  220. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -2
  221. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +2 -2
  222. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +2 -2
  223. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +2 -2
  224. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +2 -2
  225. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +2 -2
  226. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +2 -2
  227. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -1
  228. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -2
  229. package/docs/interfaces/GuideLinePluginType.PluginState.html +2 -2
  230. package/docs/interfaces/GuideLinePluginType.Route.html +2 -2
  231. package/docs/interfaces/HelperOffset.html +2 -2
  232. package/docs/interfaces/ImagePlaneGroup.html +2 -2
  233. package/docs/interfaces/ItemLabelPluginData.html +2 -2
  234. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +2 -2
  235. package/docs/interfaces/ItemLabelPluginParametersType.html +2 -2
  236. package/docs/interfaces/MinMax.html +2 -2
  237. package/docs/interfaces/ModelChassisCompassPluginData.html +2 -2
  238. package/docs/interfaces/ModelChassisCompassPluginExportType.html +2 -2
  239. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +2 -2
  240. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +2 -2
  241. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +2 -2
  242. package/docs/interfaces/ModelItemLabelPluginData.html +2 -2
  243. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +2 -2
  244. package/docs/interfaces/ModelItemLabelPluginParametersType.html +2 -2
  245. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +2 -2
  246. package/docs/interfaces/ModelMakerPluginType.EventMap.html +2 -2
  247. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +2 -2
  248. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +2 -2
  249. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +2 -2
  250. package/docs/interfaces/ModelMakerPluginType.ServerData.html +2 -2
  251. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +2 -2
  252. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +2 -2
  253. package/docs/interfaces/ModelMakerPluginType.State.html +2 -2
  254. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +2 -2
  255. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -2
  256. package/docs/interfaces/ModelTVVideoPluginData.html +2 -2
  257. package/docs/interfaces/ModelTVVideoPluginExportType.html +2 -2
  258. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -2
  259. package/docs/interfaces/ModelViewPluginExportType.html +2 -2
  260. package/docs/interfaces/Object3DHelperState.html +2 -2
  261. package/docs/interfaces/ObjectHelperControllers.html +2 -2
  262. package/docs/interfaces/PaintBrushAction.html +2 -2
  263. package/docs/interfaces/PaintBrushConfigs.html +2 -2
  264. package/docs/interfaces/PaintBrushState.html +2 -2
  265. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +2 -2
  266. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -1
  267. package/docs/interfaces/PanoMeasureParameterType.html +2 -2
  268. package/docs/interfaces/PanoMeasurePluginLineJson.html +2 -2
  269. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +2 -2
  270. package/docs/interfaces/PanoMeasurePluginPointJson.html +2 -2
  271. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +2 -2
  272. package/docs/interfaces/PanoRulerPluginExportType.html +2 -2
  273. package/docs/interfaces/PanoRulerPluginOptions.html +2 -2
  274. package/docs/interfaces/PanoRulerPluginParameterType.html +2 -2
  275. package/docs/interfaces/PanoRulerProPluginExportType.html +2 -2
  276. package/docs/interfaces/PanoRulerProPluginOptions.html +2 -2
  277. package/docs/interfaces/PanoRulerProPluginParameterType.html +2 -2
  278. package/docs/interfaces/PanoRulerProPluginState.html +2 -2
  279. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -1
  280. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -1
  281. package/docs/interfaces/PanoSpatialTagPluginData.html +2 -2
  282. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +2 -2
  283. package/docs/interfaces/PanoSpatialTagPluginExportType.html +2 -2
  284. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +2 -2
  285. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +2 -2
  286. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +2 -2
  287. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +2 -2
  288. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +2 -2
  289. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +2 -2
  290. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -2
  291. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +2 -2
  292. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -2
  293. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +2 -2
  294. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +2 -2
  295. package/docs/interfaces/PluginEventMap.html +4 -4
  296. package/docs/interfaces/Point.html +2 -2
  297. package/docs/interfaces/Room.html +2 -2
  298. package/docs/interfaces/RoomInfo.html +2 -2
  299. package/docs/interfaces/RoomLabel.html +2 -2
  300. package/docs/interfaces/RoomRules.html +1 -1
  301. package/docs/interfaces/Rooms.html +1 -1
  302. package/docs/interfaces/Scissor.html +2 -2
  303. package/docs/interfaces/State.html +2 -2
  304. package/docs/interfaces/TagCacheInterface.html +4 -3
  305. package/docs/interfaces/TagConfig.html +87 -36
  306. package/docs/interfaces/TagGLTFObjectGroup.html +2 -2
  307. package/docs/interfaces/TagIconUrl.html +2 -2
  308. package/docs/interfaces/TagObjectGroup.html +2 -2
  309. package/docs/interfaces/TagState.html +4 -0
  310. package/docs/interfaces/TagStyle.html +2 -2
  311. package/docs/interfaces/Tags.html +2 -2
  312. package/docs/interfaces/TemporaryState.html +2 -2
  313. package/docs/interfaces/Util.AnimeInstance.html +2 -2
  314. package/docs/interfaces/Util.BlinkAnimeOptions.html +2 -2
  315. package/docs/interfaces/Util.EventHandlerConfig.html +2 -2
  316. package/docs/interfaces/Util.FiveDomEvent.html +2 -2
  317. package/docs/interfaces/Util.FiveDomEventMap.html +2 -2
  318. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +2 -2
  319. package/docs/interfaces/Util.MagnifierParameter.html +2 -2
  320. package/docs/interfaces/Util.MouseGroupParameter.html +2 -2
  321. package/docs/interfaces/Util.PointIntersection.html +2 -2
  322. package/docs/interfaces/Util.PointSelectorHelperConfig.html +2 -2
  323. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +2 -2
  324. package/docs/modules/AreaMakerPluginType.html +2 -2
  325. package/docs/modules/CruisePluginTypes.html +2 -2
  326. package/docs/modules/CurrentPanoImagePluginType.html +2 -2
  327. package/docs/modules/GuideLineItem.html +2 -2
  328. package/docs/modules/GuideLineModeItem.html +2 -2
  329. package/docs/modules/GuideLinePluginType.html +2 -2
  330. package/docs/modules/ModelMakerPluginType.html +2 -2
  331. package/docs/modules/PanoVideoPluginType.html +2 -2
  332. package/docs/modules/SculptData.html +2 -2
  333. package/docs/modules/SculptType.html +2 -2
  334. package/docs/modules/Util.html +2 -2
  335. package/docs/modules/Util.sculpt.html +2 -2
  336. package/docs/modules.html +4 -2
  337. package/docs/types/AddObject3DHelperConfig.html +2 -2
  338. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +2 -2
  339. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -1
  340. package/docs/types/AreaMakerPluginType.PluginData.html +2 -2
  341. package/docs/types/AreaMakerPluginType.ServerData.html +2 -2
  342. package/docs/types/ArrayPosition.html +1 -1
  343. package/docs/types/AudioAppearance.html +1 -1
  344. package/docs/types/CSS3DRenderExportType.html +1 -1
  345. package/docs/types/CSS3DRenderPluginExportType.html +1 -1
  346. package/docs/types/CSS3DRenderPluginParameterType.html +1 -1
  347. package/docs/types/ClassFunctionParameters.html +1 -1
  348. package/docs/types/Color.html +1 -1
  349. package/docs/types/ContentTypeConfigKey.html +1 -1
  350. package/docs/types/ContentTypeConfigKeySplit.html +1 -1
  351. package/docs/types/ContentTypeMap.html +1 -1
  352. package/docs/types/Create3DDomContainerReturnType.html +1 -1
  353. package/docs/types/Create3DElementReturnType.html +1 -1
  354. package/docs/types/CruisePluginExportType.html +1 -1
  355. package/docs/types/CruisePluginTypes.CruiseData.html +2 -2
  356. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -1
  357. package/docs/types/CurrentPanoImagePluginExportType.html +1 -1
  358. package/docs/types/DeprecatedMediaPlaneProperty.html +2 -2
  359. package/docs/types/DeprecatedTagProperty.html +2 -2
  360. package/docs/types/Direction-1.html +1 -1
  361. package/docs/types/Direction4.html +1 -1
  362. package/docs/types/ElementRenderer.html +2 -2
  363. package/docs/types/FloorplanRuleLabels.html +2 -2
  364. package/docs/types/FloorplanServerRuleLabels.html +1 -1
  365. package/docs/types/GuideLinePluginExportType.html +1 -1
  366. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -2
  367. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -1
  368. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -1
  369. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -2
  370. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -2
  371. package/docs/types/GuideLinePluginType.PathItem.html +2 -2
  372. package/docs/types/GuideLinePluginType.PluginData.html +2 -2
  373. package/docs/types/GuideLinePluginType.RouteConfig.html +2 -2
  374. package/docs/types/HelperEventMap.html +1 -1
  375. package/docs/types/InternalHelperEventMap.html +1 -1
  376. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -1
  377. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -1
  378. package/docs/types/MeasurePluginConfig.html +1 -1
  379. package/docs/types/MediaData.html +2 -2
  380. package/docs/types/MediaStore.html +1 -1
  381. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -1
  382. package/docs/types/ModelFloorplanPluginParameterType.html +1 -1
  383. package/docs/types/ModelFloorplanPluginReturnType.html +1 -1
  384. package/docs/types/ModelId.html +1 -1
  385. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -1
  386. package/docs/types/ModelMakerPluginType.ItemType.html +2 -2
  387. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -1
  388. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -2
  389. package/docs/types/ModelRoomLabelPluginParameters.html +1 -1
  390. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -1
  391. package/docs/types/MoveArgs.html +2 -2
  392. package/docs/types/MoveOpts.html +2 -2
  393. package/docs/types/Object3DHelperEventMap.html +1 -1
  394. package/docs/types/ObjectFit.html +1 -1
  395. package/docs/types/PaintBrushEventMap.html +1 -1
  396. package/docs/types/PanoCompassPluginData.html +1 -1
  397. package/docs/types/PanoCompassPluginExportType.html +1 -1
  398. package/docs/types/PanoCompassPluginParameterType.html +1 -1
  399. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -1
  400. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -1
  401. package/docs/types/PanoIndex.html +1 -1
  402. package/docs/types/PanoMeasurePluginEvent.html +1 -1
  403. package/docs/types/PanoMeasureReturnType.html +1 -1
  404. package/docs/types/PanoSpatialTagPluginId.html +1 -1
  405. package/docs/types/PanoTagPluginExportInterface.html +1 -1
  406. package/docs/types/PanoTagPluginParamsInterface.html +1 -1
  407. package/docs/types/PanoVideoPluginParameterType.html +1 -1
  408. package/docs/types/PanoVideoPluginReturnType.html +1 -1
  409. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -2
  410. package/docs/types/PipelinePluginParameterType.html +1 -1
  411. package/docs/types/PipelinePluginReturnType.html +1 -1
  412. package/docs/types/PlaneTag.html +2 -2
  413. package/docs/types/Point2DTag.html +2 -2
  414. package/docs/types/Point3DTag.html +2 -2
  415. package/docs/types/PointTagInstance.html +1 -1
  416. package/docs/types/Position.html +1 -1
  417. package/docs/types/PositionFrom.html +1 -1
  418. package/docs/types/RotateArgs.html +2 -2
  419. package/docs/types/RotateOpts.html +2 -2
  420. package/docs/types/RuleLabelsKey.html +1 -1
  421. package/docs/types/RuleLabelsValue.html +1 -1
  422. package/docs/types/ScaleCallback.html +1 -1
  423. package/docs/types/ScalePosition.html +2 -2
  424. package/docs/types/SculptData.BoxData.html +1 -1
  425. package/docs/types/SculptData.CircleData.html +1 -1
  426. package/docs/types/SculptData.CylinderData.html +1 -1
  427. package/docs/types/SculptData.PointData.html +1 -1
  428. package/docs/types/SculptData.PolygonData.html +1 -1
  429. package/docs/types/SculptData.PolylineData.html +1 -1
  430. package/docs/types/SculptData.PrismData.html +1 -1
  431. package/docs/types/SculptData.RectangleData.html +1 -1
  432. package/docs/types/SculptType.Theme.html +2 -2
  433. package/docs/types/StickType.html +1 -1
  434. package/docs/types/Tag.html +2 -2
  435. package/docs/types/Tag2D.html +2 -2
  436. package/docs/types/Tag3D.html +2 -2
  437. package/docs/types/TagClickParams.html +1 -1
  438. package/docs/types/TagConfigByKey.html +1 -1
  439. package/docs/types/TagContentType.html +1 -1
  440. package/docs/types/TagContentTypeMapping.html +1 -1
  441. package/docs/types/TagDimensionType.html +1 -1
  442. package/docs/types/TagElement.html +2 -2
  443. package/docs/types/TagEvents.html +1 -1
  444. package/docs/types/TagGLTFObject.html +1 -1
  445. package/docs/types/TagHooks.html +1 -1
  446. package/docs/types/TagId.html +1 -1
  447. package/docs/types/TagInstance.html +1 -1
  448. package/docs/types/TagPlacement.html +5 -0
  449. package/docs/types/TagPointType.html +2 -2
  450. package/docs/types/TagRendererMap.html +1 -1
  451. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -1
  452. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -1
  453. package/docs/types/Util.ActionIfNoIntersection.html +1 -1
  454. package/docs/types/Util.AdherePoint.html +2 -2
  455. package/docs/types/Util.PointSelectorConfig.html +1 -1
  456. package/docs/types/WorkCode.html +1 -1
  457. package/docs/variables/FLOOR_TYPE_MAP.html +2 -2
  458. package/docs/variables/PLUGIN.html +1 -1
  459. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -2
  460. package/docs/variables/ROOM_TYPE_MAP.html +2 -2
  461. package/docs/variables/Util.animeMap.html +1 -1
  462. package/docs/variables/defaultGlobalConfig.html +1 -1
  463. package/docs/variables/itemLabelPluginServerParams.html +1 -1
  464. package/docs/variables/modelItemLabelPluginServerParams.html +1 -1
  465. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -1
  466. package/libs/CruisePlugin/Move.js +11 -2
  467. package/libs/CruisePlugin/Work.js +11 -2
  468. package/libs/CruisePlugin/index.js +15 -6
  469. package/libs/GuideLinePlugin/Controller.js +13 -4
  470. package/libs/GuideLinePlugin/GuideLineItem.js +11 -2
  471. package/libs/GuideLinePlugin/GuideLineModeItem.js +11 -2
  472. package/libs/GuideLinePlugin/index.js +15 -6
  473. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +164 -105
  474. package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.js +123 -0
  475. package/libs/PanoTagPlugin/Components/Common/TagPopover/ArrowRightIcon.svelte.d.ts +1 -0
  476. package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.js +70 -0
  477. package/libs/PanoTagPlugin/Components/Common/TagPopover/PanoramaIcon.svelte.d.ts +1 -0
  478. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +260 -0
  479. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.svelte.d.ts +1 -0
  480. package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.js +123 -0
  481. package/libs/PanoTagPlugin/Components/Common/TagPopover/ShareIcon.svelte.d.ts +1 -0
  482. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.js +63 -0
  483. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverArrow.svelte.d.ts +1 -0
  484. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +270 -0
  485. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.svelte.d.ts +1 -0
  486. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.js +524 -0
  487. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopup.svelte.d.ts +1 -0
  488. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +523 -0
  489. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.svelte.d.ts +1 -0
  490. package/libs/PanoTagPlugin/Components/Common/VideoIcon.js +114 -0
  491. package/libs/PanoTagPlugin/Components/Common/VideoIcon.svelte.d.ts +1 -0
  492. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +253 -232
  493. package/libs/PanoTagPlugin/Components/Tag/index.js +136 -123
  494. package/libs/PanoTagPlugin/Components/TagContainer.js +138 -114
  495. package/libs/PanoTagPlugin/Components/TagItem.js +451 -230
  496. package/libs/PanoTagPlugin/controller/Tag/BaseTag.d.ts +3 -0
  497. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +187 -168
  498. package/libs/PanoTagPlugin/controller/Tag/PointTag.d.ts +3 -0
  499. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +38 -26
  500. package/libs/PanoTagPlugin/controller/index.js +49 -40
  501. package/libs/PanoTagPlugin/index.js +20 -11
  502. package/libs/PanoTagPlugin/tag.config.js +14 -7
  503. package/libs/PanoTagPlugin/typings/controller.d.ts +16 -0
  504. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +89 -0
  505. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +5 -0
  506. package/libs/base/BasePlugin.js +1 -1
  507. package/libs/index.js +154 -145
  508. package/libs/shared-utils/logger.js +1 -1
  509. package/package.json +1 -1
@@ -27,6 +27,9 @@ export declare class PointTag<C extends TagContentType = TagContentType> extends
27
27
  }): void;
28
28
  set(tag: PartialObjectDeep<Tag<C, '2DPoint' | '3DPoint'>>, deepMerge?: boolean): void;
29
29
  setData(...data: Parameters<InstanceType<typeof BaseTag<C, '2DPoint' | '3DPoint'>>['setData']>): void;
30
+ /**
31
+ * @description 根据全景漫游索引更新标签是否展开
32
+ */
30
33
  updateUnfoldedByPanoIndex(): void;
31
34
  computeNormal(): THREE.Vector3;
32
35
  }
@@ -1,6 +1,6 @@
1
1
  var c = Object.defineProperty;
2
- var f = (r, o, t) => o in r ? c(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
3
- var p = (r, o, t) => (f(r, typeof o != "symbol" ? o + "" : o, t), t);
2
+ var h = (s, n, t) => n in s ? c(s, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[n] = t;
3
+ var p = (s, n, t) => (h(s, typeof n != "symbol" ? n + "" : n, t), t);
4
4
  import { BaseTag as g } from "./BaseTag.js";
5
5
  import * as l from "three";
6
6
  import "../../../shared-utils/Subscribe.js";
@@ -86,8 +86,8 @@ import "../../../shared-utils/five/getFloorIndex.js";
86
86
  import "../../../shared-utils/safeObj.js";
87
87
  import "../../utils/Cache.js";
88
88
  import "../../../shared-utils/promise/withResolvers.js";
89
- const v = new l.Vector2();
90
- class Jt extends g {
89
+ const y = new l.Vector2();
90
+ class Gt extends g {
91
91
  constructor(t, i) {
92
92
  super(t, i);
93
93
  p(this, "__Object__");
@@ -98,8 +98,8 @@ class Jt extends g {
98
98
  */
99
99
  unfoldAndFoldOthers() {
100
100
  const t = this.can("fold"), i = this.can("unfold");
101
- t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((s) => {
102
- s.id !== this.id && s.fold();
101
+ t && i && (this.state.unfolded = !this.state.unfolded, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }), this.state.unfolded && this.plugin.tags.forEach((o) => {
102
+ o.id !== this.id && o.fold();
103
103
  }));
104
104
  }
105
105
  onClick(t) {
@@ -123,38 +123,38 @@ class Jt extends g {
123
123
  * @param {boolean} unfolded
124
124
  */
125
125
  setUnfold(t) {
126
- const i = this.can("fold"), s = this.can("unfold");
127
- i && s && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
126
+ const i = this.can("fold"), o = this.can("unfold");
127
+ i && o && (this.state.unfolded = t, this.hooks.emit(t ? "unfolded" : "folded"), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
128
128
  }
129
129
  setPosition(t) {
130
130
  this.originPosition = t, this.position = t, this.cache.clear(), this.updateVisible(), this.updateScreenPosition(), this.updateZIndex(), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
131
131
  }
132
132
  updateScreenPosition(t) {
133
- var m;
133
+ var a;
134
134
  if (this.stickType !== "2DPoint" && this.stickType !== "3DPoint")
135
135
  return;
136
- const { force: i = !1 } = t != null ? t : {}, s = i ? this.state.visible : this.currentVisible, e = (m = this.__Object__) != null ? m : {
136
+ const { force: i = !1 } = t != null ? t : {}, o = i ? this.state.visible : this.currentVisible, e = (a = this.__Object__) != null ? a : {
137
137
  timeoutId: void 0,
138
138
  inAnimation: !1
139
139
  };
140
- if (this.__Object__ = e, !s && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
140
+ if (this.__Object__ = e, !o && this.screenPosition ? (e.inAnimation = !0, e.timeoutId = setTimeout(() => {
141
141
  requestAnimationFrame(() => {
142
142
  this.currentVisible || (e.inAnimation = !1, this.screenPosition = null, this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] }));
143
143
  });
144
- }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !s && !e.inAnimation)
144
+ }, 1e3)) : e.timeoutId && (clearTimeout(e.timeoutId), e.inAnimation = !1, e.timeoutId = void 0), !o && !e.inAnimation)
145
145
  return;
146
- const n = this.computeTagProject();
147
- if (n && this.five.renderer) {
148
- const a = (() => {
146
+ const r = this.computeTagProject();
147
+ if (r && this.five.renderer) {
148
+ const m = (() => {
149
149
  if (!this.currentConfig.simulate3D)
150
150
  return 1;
151
- const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), h = this.getDistance(void 0, 1);
152
- return Math.max(Math.min(1 - u * h / 40, 1), 0.5);
153
- })(), d = this.five.renderer.getSize(v);
151
+ const u = 2 * Math.tan(0.5 * this.five.camera.fov / 180 * Math.PI), f = this.getDistance(void 0, 1);
152
+ return Math.max(Math.min(1 - u * f / 40, 1), 0.5);
153
+ })(), d = this.five.renderer.getSize(y);
154
154
  this.screenPosition = {
155
- leftPx: (n.x + 1) / 2 * d.x,
156
- topPx: (-n.y + 1) / 2 * d.y,
157
- scale: a
155
+ leftPx: (r.x + 1) / 2 * d.x,
156
+ topPx: (-r.y + 1) / 2 * d.y,
157
+ scale: m
158
158
  };
159
159
  } else
160
160
  this.screenPosition = null;
@@ -166,11 +166,23 @@ class Jt extends g {
166
166
  setData(...t) {
167
167
  super.setData(...t), this.plugin.addRenderQueue({ type: "TagContainerSvelte", keys: ["tags"] });
168
168
  }
169
+ /**
170
+ * @description 根据全景漫游索引更新标签是否展开
171
+ */
169
172
  updateUnfoldedByPanoIndex() {
170
- const t = this.getUnfoldedByPanoIndex();
171
- if (this.state && (t !== void 0 && (this.state.unfolded = t), t && !this.state.visible)) {
172
- const i = this.getConfig();
173
- typeof i.unfoldedConfig == "object" && i.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
173
+ var o;
174
+ const t = this.getConfig();
175
+ if ((o = t.popoverConfig) != null && o.enabled) {
176
+ const e = ["Link", "VRLink", "PanoLink", "Panorama"], r = t.unfoldedConfig;
177
+ if (!e.includes(this.contentType) && !(typeof r == "object" && r.keep === "unfolded")) {
178
+ this.state && (this.state.unfolded = !1);
179
+ return;
180
+ }
181
+ }
182
+ const i = this.getUnfoldedByPanoIndex();
183
+ if (this.state && (i !== void 0 && (this.state.unfolded = i), i && !this.state.visible)) {
184
+ const e = this.getConfig();
185
+ typeof e.unfoldedConfig == "object" && e.unfoldedConfig.autoFoldWhenHide !== !1 && (this.state.unfolded = !1);
174
186
  }
175
187
  }
176
188
  computeNormal() {
@@ -178,5 +190,5 @@ class Jt extends g {
178
190
  }
179
191
  }
180
192
  export {
181
- Jt as PointTag
193
+ Gt as PointTag
182
194
  };
@@ -12,19 +12,19 @@ var g = (d, a, e) => a in d ? P(d, a, { enumerable: !0, configurable: !0, writab
12
12
  }, c = (d, a) => U(d, A(a));
13
13
  var p = (d, a, e) => (g(d, typeof a != "symbol" ? a + "" : a, e), e);
14
14
  var l = (d, a, e) => new Promise((i, t) => {
15
- var o = (s) => {
15
+ var o = (r) => {
16
16
  try {
17
- n(e.next(s));
17
+ n(e.next(r));
18
18
  } catch (h) {
19
19
  t(h);
20
20
  }
21
- }, r = (s) => {
21
+ }, s = (r) => {
22
22
  try {
23
- n(e.throw(s));
23
+ n(e.throw(r));
24
24
  } catch (h) {
25
25
  t(h);
26
26
  }
27
- }, n = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(o, r);
27
+ }, n = (r) => r.done ? i(r.value) : Promise.resolve(r.value).then(o, s);
28
28
  n((e = e.apply(d, a)).next());
29
29
  });
30
30
  import * as u from "three";
@@ -218,8 +218,17 @@ import "../Components/Tag/CustomTag.js";
218
218
  import "../../vendor/classnames/index.js";
219
219
  import "../Components/TagItem.js";
220
220
  import "../Components/Common/TagPoint.js";
221
- const S = "Dnalogel-PanoTagPlugin", Do = (d) => `${S}--${d}`;
222
- class Po extends R {
221
+ import "../Components/Common/TagPopover/index.js";
222
+ import "../Components/Common/TagPopover/PopoverContent.js";
223
+ import "../Components/Common/TagPopover/TagPopoverArrow.js";
224
+ import "../Components/Common/TagPopover/TagPopup.js";
225
+ import "../Components/Common/VideoIcon.js";
226
+ import "../Components/Common/TagPopover/PanoramaIcon.js";
227
+ import "../Components/Common/TagPopover/TagPopoverToolBar.js";
228
+ import "../Components/Common/TagPopover/ArrowRightIcon.js";
229
+ import "../Components/Common/TagPopover/ShareIcon.js";
230
+ const S = "Dnalogel-PanoTagPlugin", Lo = (d) => `${S}--${d}`;
231
+ class Io extends R {
223
232
  constructor(e, i) {
224
233
  super(e);
225
234
  /** state */
@@ -280,10 +289,10 @@ class Po extends R {
280
289
  i.position.copy(t.position), i.quaternion.copy(t.quaternion);
281
290
  const o = this.five.camera.position;
282
291
  i.lookAt(o.clone().setY(i.position.y));
283
- const r = t.quaternion.clone(), n = i.quaternion.clone(), s = W();
284
- s.onUpdate(({ progress: D }) => {
285
- t.quaternion.copy(r.clone().slerp(n, D));
286
- }), s.play();
292
+ const s = t.quaternion.clone(), n = i.quaternion.clone(), r = W();
293
+ r.onUpdate(({ progress: D }) => {
294
+ t.quaternion.copy(s.clone().slerp(n, D));
295
+ }), r.play();
287
296
  });
288
297
  }));
289
298
  /** 楼层切换时,需要更新标签可见性 */
@@ -300,9 +309,9 @@ class Po extends R {
300
309
  this.renderQueue.forEach((e, i) => {
301
310
  const { keys: t } = e;
302
311
  if (i === "TagContainerSvelte") {
303
- const r = this.filterPointTag.filter((s) => s.screenPosition), n = {
312
+ const s = this.filterPointTag.filter((r) => r.screenPosition), n = {
304
313
  hooks: this.hooks,
305
- tags: r,
314
+ tags: s,
306
315
  state: this.state,
307
316
  temporaryState: this.temporaryState,
308
317
  mediaStore: this.mediaStore,
@@ -311,13 +320,13 @@ class Po extends R {
311
320
  zIndex: this.params.containerZIndex
312
321
  };
313
322
  if (this.TagContainerSvelte) {
314
- let s = {};
323
+ let r = {};
315
324
  if (t.length === 0)
316
- s = n;
325
+ r = n;
317
326
  else
318
327
  for (const h of t)
319
- s[h] = n[h];
320
- this.TagContainerSvelte.$set(s);
328
+ r[h] = n[h];
329
+ this.TagContainerSvelte.$set(r);
321
330
  } else {
322
331
  if (!this.container)
323
332
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
@@ -325,8 +334,8 @@ class Po extends R {
325
334
  target: this.container,
326
335
  props: c(f({}, n), { state: c(f({}, this.state), { enabled: !1 }) })
327
336
  }), N(() => {
328
- var s;
329
- (s = this.TagContainerSvelte) == null || s.$set({ state: this.state });
337
+ var r;
338
+ (r = this.TagContainerSvelte) == null || r.$set({ state: this.state });
330
339
  });
331
340
  }
332
341
  }
@@ -343,10 +352,10 @@ class Po extends R {
343
352
  }
344
353
  }
345
354
  appendTo(e) {
346
- var t, o, r;
355
+ var t, o, s;
347
356
  this.container = e;
348
357
  const i = (o = (t = this.TagContainerSvelte) == null ? void 0 : t.$$) == null ? void 0 : o.root;
349
- i && i !== this.container && ((r = this.TagContainerSvelte) == null || r.$destroy(), this.TagContainerSvelte = void 0);
358
+ i && i !== this.container && ((s = this.TagContainerSvelte) == null || s.$destroy(), this.TagContainerSvelte = void 0);
350
359
  }
351
360
  /**
352
361
  * @description 加载数据
@@ -357,7 +366,7 @@ class Po extends R {
357
366
  this.clearTags();
358
367
  try {
359
368
  console.debug(this.NAME, " load:", { data: JSON.parse(JSON.stringify(e)) });
360
- } catch (r) {
369
+ } catch (s) {
361
370
  }
362
371
  this.config = m({}, this.config, {
363
372
  globalConfig: (t = e.globalConfig) != null ? t : {},
@@ -373,17 +382,17 @@ class Po extends R {
373
382
  addTag(e) {
374
383
  return l(this, null, function* () {
375
384
  const t = (Array.isArray(e) ? e : [e]).filter((o) => o.position).map((o) => {
376
- const r = M(o);
377
- if (r === "2DPoint" || r === "3DPoint")
385
+ const s = M(o);
386
+ if (s === "2DPoint" || s === "3DPoint")
378
387
  return new z(this, o);
379
- if (r === "Model")
388
+ if (s === "Model")
380
389
  return new j(this, o);
381
- if (r === "Plane")
390
+ if (s === "Plane")
382
391
  return new Q(this, o);
383
392
  });
384
393
  return t.forEach(I), this.tags.push(...t), this.tagsLengthWillUpdate = !0, G(this.five).then(() => l(this, null, function* () {
385
- var o, r;
386
- this.store.eventListenerDisposer && ((r = (o = this.store).eventListenerDisposer) == null || r.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(t, (n) => {
394
+ var o, s;
395
+ this.store.eventListenerDisposer && ((s = (o = this.store).eventListenerDisposer) == null || s.call(o)), this.state.enabled && this.handleEnable(), this.addResizeListener(), this.clearUnusedPanelTag(), this.tagsDo(t, (n) => {
387
396
  this.tags.includes(n) && (n.updateVisible(), n.updateZIndex());
388
397
  }), this.setUnfolded(), this.addRenderQueue({ type: "TagContainerSvelte" }), this.hooks.emit("tagsLengthChange");
389
398
  }));
@@ -455,11 +464,11 @@ class Po extends R {
455
464
  * @description 销毁
456
465
  */
457
466
  dispose() {
458
- var e, i, t, o, r, n;
459
- this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((s) => {
467
+ var e, i, t, o, s, n;
468
+ this.pauseCurrentMedia(), this.disposeAllCSS3DContainer(), (e = this.TagContainerSvelte) == null || e.$destroy(), this.filterCSS3DTag.forEach((r) => {
460
469
  var h;
461
- return (h = s.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
462
- }), this.tags.forEach((s) => s.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (i = this.store.disposers) == null || i.forEach((s) => s == null ? void 0 : s()), this.store.disposers = [], (o = (t = this.store).eventListenerDisposer) == null || o.call(t), this.store.eventListenerDisposer = void 0, (n = (r = this.store).resizeObserverDisposer) == null || n.call(r), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
470
+ return (h = r.tag3DContentSvelte) == null ? void 0 : h.svelteApp.$destroy();
471
+ }), this.tags.forEach((r) => r.cache.clear()), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (i = this.store.disposers) == null || i.forEach((r) => r == null ? void 0 : r()), this.store.disposers = [], (o = (t = this.store).eventListenerDisposer) == null || o.call(t), this.store.eventListenerDisposer = void 0, (n = (s = this.store).resizeObserverDisposer) == null || n.call(s), this.store.resizeObserverDisposer = void 0, this.store.resizeObserverDisposerAdding = !1, this.five.scene.remove(this.group), this.group.remove(...this.group.children), this.gltfObjectGroup.remove(...this.gltfObjectGroup.children), this.imagePlaneGroup.remove(...this.imagePlaneGroup.children), this.five.needsRender = !0, this.store.disposed = !0, this.hooks.emit("dispose");
463
472
  }
464
473
  /**
465
474
  * @description 闪烁标签
@@ -548,8 +557,8 @@ class Po extends R {
548
557
  clearTags() {
549
558
  var e;
550
559
  this.tags.length && (this.tags.forEach((i) => {
551
- var t, o, r, n, s, h;
552
- (t = i.tag3DContentSvelte) == null || t.dispose(), (r = (o = i.mediaPlane) == null ? void 0 : o.parent) == null || r.remove(i.mediaPlane), (h = (s = (n = i.model) == null ? void 0 : n.object) == null ? void 0 : s.parent) == null || h.remove(i.model.object);
560
+ var t, o, s, n, r, h;
561
+ (t = i.tag3DContentSvelte) == null || t.dispose(), (s = (o = i.mediaPlane) == null ? void 0 : o.parent) == null || s.remove(i.mediaPlane), (h = (r = (n = i.model) == null ? void 0 : n.object) == null ? void 0 : r.parent) == null || h.remove(i.model.object);
553
562
  }), this.tags = [], this.tagsLengthWillUpdate = !0, this.hooks.emit("tagsLengthChange"), (e = this.TagContainerSvelte) == null || e.$destroy(), this.TagContainerSvelte = void 0, this.disposeAllCSS3DContainer()), this.enabledModelTagSet.clear(), this.cache.clear();
554
563
  }
555
564
  /**
@@ -592,17 +601,17 @@ class Po extends R {
592
601
  this.state.enabled && (this.filterPointTag.forEach((h) => h.updateScreenPosition({ force: !0 })), this.temporaryState.visible = !0, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
593
602
  }, t = () => {
594
603
  this.state.enabled && (this.temporaryState.visible = !1, this.addRenderQueue({ type: "TagContainerSvelte", keys: ["temporaryState"] }));
595
- }, { observe: o, unobserve: r } = y(
604
+ }, { observe: o, unobserve: s } = y(
596
605
  L(() => {
597
606
  this.store.resizeObserverDisposer && t();
598
607
  }, 500),
599
608
  e
600
- ), { observe: n, unobserve: s } = y(
609
+ ), { observe: n, unobserve: r } = y(
601
610
  b(() => i(), 400),
602
611
  e
603
612
  );
604
613
  return o(), n(), () => {
605
- r(), s();
614
+ s(), r();
606
615
  };
607
616
  }
608
617
  setUnfoldedByCamera() {
@@ -636,7 +645,7 @@ class Po extends R {
636
645
  }
637
646
  }
638
647
  export {
639
- Po as PanoTagPluginController,
640
- Po as default,
641
- Do as pluginFlag
648
+ Io as PanoTagPluginController,
649
+ Io as default,
650
+ Lo as pluginFlag
642
651
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Ir } from "./controller/index.js";
3
- import { defaultGlobalConfig as Kr } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Mr, DimensionType as Nr, PointType as Or } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Sr } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Vr } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as Xr, DimensionType as Yr, PointType as Zr } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "../vendor/object-assign-deep/objectAssignDeep.js";
7
7
  import "../shared-utils/positionToVector3.js";
@@ -191,15 +191,24 @@ import "./controller/Tag/PlaneTag.js";
191
191
  import "./Components/TagContainer.js";
192
192
  import "./Components/TagItem.js";
193
193
  import "./Components/Common/TagPoint.js";
194
+ import "./Components/Common/TagPopover/index.js";
195
+ import "./Components/Common/TagPopover/PopoverContent.js";
196
+ import "./Components/Common/TagPopover/TagPopoverArrow.js";
197
+ import "./Components/Common/TagPopover/TagPopup.js";
198
+ import "./Components/Common/VideoIcon.js";
199
+ import "./Components/Common/TagPopover/PanoramaIcon.js";
200
+ import "./Components/Common/TagPopover/TagPopoverToolBar.js";
201
+ import "./Components/Common/TagPopover/ArrowRightIcon.js";
202
+ import "./Components/Common/TagPopover/ShareIcon.js";
194
203
  import "../shared-utils/animationFrame/BetterTween.js";
195
- const Br = (o, t) => new r(o, t);
204
+ const Or = (o, t) => new r(o, t);
196
205
  export {
197
- Mr as ContentType,
198
- Nr as DimensionType,
199
- Br as PanoTagPlugin,
206
+ Xr as ContentType,
207
+ Yr as DimensionType,
208
+ Or as PanoTagPlugin,
200
209
  r as PanoTagPluginController,
201
- Or as PointType,
202
- Br as default,
203
- Kr as defaultGlobalConfig,
204
- Ir as pluginFlag
210
+ Zr as PointType,
211
+ Or as default,
212
+ Vr as defaultGlobalConfig,
213
+ Sr as pluginFlag
205
214
  };
@@ -3,15 +3,22 @@ const e = {
3
3
  visibleConfig: {
4
4
  followModelVisibility: !0
5
5
  },
6
- unfoldedConfig: {
7
- autoUnfold: {
8
- enable: !0,
9
- strategy: "MinimumDistance",
10
- distance: { max: 5 }
11
- }
12
- },
13
6
  tag3DConfig: {
14
7
  ratio: 35e-4
8
+ },
9
+ popoverConfig: {
10
+ enabled: !0,
11
+ debug: !0,
12
+ trigger: "hover",
13
+ triggerDelay: 200,
14
+ placement: "auto",
15
+ transitionDuration: 100,
16
+ // theme: 'light',
17
+ toolbar: {
18
+ showMore: !0,
19
+ showShare: !0
20
+ },
21
+ viewMoreText: "查看更多"
15
22
  }
16
23
  },
17
24
  contentTypeConfig: {
@@ -24,6 +24,15 @@ export type TagClickParams = {
24
24
  } | {
25
25
  target: 'TagModel';
26
26
  tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>;
27
+ } | {
28
+ target: 'TagPopoverViewMore';
29
+ tag: TagInstance;
30
+ } | {
31
+ target: 'TagPopoverShare';
32
+ tag: TagInstance;
33
+ } | {
34
+ target: 'TagPopoverContent';
35
+ tag: TagInstance;
27
36
  });
28
37
  export interface PluginEventMap extends BasePlugin.EventMap<State> {
29
38
  loaded: () => void;
@@ -61,10 +70,17 @@ export type TagEvents<C extends TagContentType = TagContentType> = {
61
70
  show: () => void;
62
71
  hide: () => void;
63
72
  dataChanged: (data: TagInstance<C>['data']) => void;
73
+ hover: (params: {
74
+ event: Event;
75
+ tag: TagInstance;
76
+ }) => void;
77
+ showPopover: () => void;
78
+ hidePopover: () => void;
64
79
  };
65
80
  export interface TagCacheInterface {
66
81
  visible?: boolean;
67
82
  unfolded?: boolean;
83
+ popoverVisible?: boolean;
68
84
  minimumDistanceResult?: boolean;
69
85
  distance?: number;
70
86
  angle?: number;
@@ -6,6 +6,21 @@ import type { PartialObjectDeep } from '../../../typings/typings';
6
6
  import type { Vector3 } from 'three';
7
7
  import type { TagInstance } from '../..';
8
8
  type TagVisibleMode = Mode | Mode[] | 'PanoramaLike' | 'ModelLike' | 'all';
9
+ /**
10
+ * @description 标签悬停时popover的位置
11
+ * @default 'auto'
12
+ * top 是标签上方,bottom 是标签下方,left 是标签左侧,right 是标签右侧
13
+ * top-left 是标签上方,Popover的左边界与标签的左边界对齐
14
+ * top-right 是标签上方,Popover的右边界与标签的右边界对齐
15
+ * bottom-left 是标签下方,Popover的左边界与标签的左边界对齐
16
+ * bottom-right 是标签下方,Popover的右边界与标签的右边界对齐
17
+ * left-top 是标签左侧,Popover的上边界与标签的上边界对齐
18
+ * left-bottom 是标签左侧,Popover的下边界与标签的下边界对齐
19
+ * right-top 是标签右侧,Popover的上边界与标签的上边界对齐
20
+ * right-bottom 是标签右侧,Popover的下边界与标签的下边界对齐
21
+ * auto 是根据标签位置自动计算
22
+ */
23
+ export type TagPlacement = 'top' | 'bottom' | 'left' | 'right' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'left-top' | 'left-bottom' | 'right-top' | 'right-bottom' | 'auto';
9
24
  export interface TagConfig<C extends TagContentType = TagContentType> {
10
25
  /**
11
26
  * @description 显示/隐藏相关配置
@@ -123,6 +138,7 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
123
138
  } | ConfigFunction;
124
139
  /**
125
140
  * @description 展开/收起相关配置
141
+ * @warning 与 popoverConfig 同时使用时,popoverConfig 优先级更高
126
142
  */
127
143
  unfoldedConfig?: {
128
144
  /**
@@ -238,6 +254,79 @@ export interface TagConfig<C extends TagContentType = TagContentType> {
238
254
  * @deprecated private property
239
255
  */
240
256
  _isMerged?: boolean;
257
+ /**
258
+ * @description 标签浮窗相关配置
259
+ * @warning 开启之后 unfoldedConfig 无效
260
+ */
261
+ popoverConfig?: {
262
+ /**
263
+ * @description 是否启用 TagPopover
264
+ * @warning 开启之后 unfoldedConfig 无效
265
+ * @default false
266
+ */
267
+ enabled?: boolean;
268
+ /**
269
+ * @description 是否开启调试模式,调试模式popover常驻
270
+ * @default false
271
+ */
272
+ debug?: boolean;
273
+ /**
274
+ * @description 触发方式
275
+ * @description hover - 鼠标悬停触发
276
+ * @description click - 点击触发(fold/unfold模式)
277
+ * @default 'hover'
278
+ */
279
+ trigger?: 'hover' | 'click';
280
+ /**
281
+ * @description 触发延迟时间(仅在 trigger 为 hover 时生效), 单位为毫秒
282
+ * @default 300
283
+ */
284
+ triggerDelay?: number;
285
+ /**
286
+ * @description popover的位置, 默认根据标签位置自动计算
287
+ * @description top 是标签上方,bottom 是标签下方,left 是标签左侧,right 是标签右侧
288
+ * @description top-left 是标签上方,Popover的左边界与标签的左边界对齐
289
+ * @description top-right 是标签上方,Popover的右边界与标签的右边界对齐
290
+ * @description bottom-left 是标签下方,Popover的左边界与标签的左边界对齐
291
+ * @description bottom-right 是标签下方,Popover的右边界与标签的右边界对齐
292
+ * @description left-top 是标签左侧,Popover的上边界与标签的上边界对齐
293
+ * @description left-bottom 是标签左侧,Popover的下边界与标签的下边界对齐
294
+ * @description right-top 是标签右侧,Popover的上边界与标签的上边界对齐
295
+ * @description right-bottom 是标签右侧,Popover的下边界与标签的下边界对齐
296
+ * @description auto 是根据标签位置自动计算
297
+ * @default 'auto'
298
+ */
299
+ placement?: TagPlacement;
300
+ /**
301
+ * @description 过渡动画的持续时间, 单位为毫秒
302
+ * @default 100
303
+ */
304
+ transitionDuration?: number;
305
+ /**
306
+ * @description 主题,可选值为 'dark' | 'light'
307
+ * @default 'dark'
308
+ */
309
+ theme?: 'dark' | 'light';
310
+ /**
311
+ * @description 工具栏配置
312
+ */
313
+ toolbar?: {
314
+ showMore?: boolean;
315
+ showShare?: boolean;
316
+ };
317
+ /**
318
+ * @description 图片URL转换函数
319
+ */
320
+ imageURLTransform?: (url: string, options: {
321
+ width: number;
322
+ height: number;
323
+ }) => string;
324
+ /**
325
+ * @description 查看更多按钮的文本
326
+ * @default '查看更多'
327
+ */
328
+ viewMoreText?: string;
329
+ };
241
330
  }
242
331
  export declare const defaultGlobalConfig: TagConfig;
243
332
  type ConfigFunction = (five: Five, tagState: {
@@ -85,4 +85,9 @@ export type Point2DTag<C extends TagContentType = TagContentType> = TagInstance<
85
85
  export type Point3DTag<C extends TagContentType = TagContentType> = TagInstance<C, '3DPoint'>;
86
86
  /** 三维贴片 */
87
87
  export type PlaneTag<C extends TagContentType = TagContentType> = TagInstance<C, 'Plane'>;
88
+ export interface TagState {
89
+ visible: boolean;
90
+ unfolded: boolean;
91
+ popoverVisible?: boolean;
92
+ }
88
93
  export {};
@@ -22,7 +22,7 @@ let F = class {
22
22
  /**
23
23
  * @realsee/dnalogel 版本号
24
24
  */
25
- i(this, "VERSION", "3.65.6");
25
+ i(this, "VERSION", "3.66.0-alpha.10");
26
26
  i(this, "NAME");
27
27
  i(this, "five");
28
28
  i(this, "workUtil");