@realsee/dnalogel 3.4.0-dev.3 → 3.4.0-tag-dev.1

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 (403) hide show
  1. package/dist/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
  2. package/dist/CruisePlugin/index.d.ts +3 -4
  3. package/dist/CruisePlugin/typing.d.ts +2 -2
  4. package/dist/CruisePlugin/utils/linerValue.d.ts +1 -0
  5. package/dist/GuideLinePlugin/Controller.d.ts +6 -1
  6. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
  7. package/dist/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
  8. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
  9. package/dist/PanoTagPlugin/controller/TagRender.d.ts +4 -0
  10. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
  11. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
  12. package/dist/index.cjs.js +61 -59
  13. package/dist/index.js +5186 -5214
  14. package/dist/index.umd.js +54 -52
  15. package/docs/assets/search.js +1 -1
  16. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +31 -33
  17. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +32 -34
  18. package/docs/classes/CSS3DRender.html +31 -33
  19. package/docs/classes/{WalkController.html → CruisePluginController.html} +57 -52
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -21
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +41 -43
  22. package/docs/classes/Magnifier.html +20 -22
  23. package/docs/classes/ModelRoomLabelController.html +11 -13
  24. package/docs/classes/Object3DHelperController.html +25 -27
  25. package/docs/classes/PaintBrush.html +15 -17
  26. package/docs/classes/PanoMeasurePluginLine.html +27 -29
  27. package/docs/classes/PanoMeasurePluginModel.html +27 -29
  28. package/docs/classes/PanoMeasurePluginPoint.html +11 -13
  29. package/docs/classes/PanoMeasurePluginPolyline.html +27 -29
  30. package/docs/classes/PanoTagPluginController.html +54 -56
  31. package/docs/classes/Util.BetterTween.html +9 -11
  32. package/docs/classes/Util.Interval.html +12 -14
  33. package/docs/classes/Util.LineSegments.html +8 -10
  34. package/docs/classes/Util.Magnifier.html +20 -22
  35. package/docs/classes/Util.Object3D.html +8 -10
  36. package/docs/classes/Util.PointDomHelper.html +11 -13
  37. package/docs/classes/Util.PointHelper.html +11 -13
  38. package/docs/classes/Util.PointSelectorHelper.html +16 -18
  39. package/docs/classes/Util.Rectangle.html +13 -15
  40. package/docs/enums/CameraMovementEffect.html +7 -9
  41. package/docs/enums/ContentType.html +30 -22
  42. package/docs/enums/DIRECTION.html +9 -11
  43. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +9 -11
  44. package/docs/enums/DimensionType.html +7 -9
  45. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +8 -10
  46. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +9 -11
  47. package/docs/enums/PaintBrushTypeEnum.html +8 -10
  48. package/docs/enums/PointType.html +7 -9
  49. package/docs/enums/Rotation.html +8 -10
  50. package/docs/functions/AreaMakerPlugin.html +5 -7
  51. package/docs/functions/CSS3DRenderPlugin.html +4 -6
  52. package/docs/functions/CameraMovementPlugin.html +4 -6
  53. package/docs/functions/CruisePlugin.html +6 -8
  54. package/docs/functions/CurrentPanoImagePlugin.html +4 -6
  55. package/docs/functions/GuideLinePlugin.html +5 -7
  56. package/docs/functions/ItemLabelPlugin.html +4 -6
  57. package/docs/functions/MapviewFloorplanPlugin.html +4 -6
  58. package/docs/functions/ModelChassisCompassPlugin.html +4 -6
  59. package/docs/functions/ModelEntryDoorGuidePlugin.html +4 -6
  60. package/docs/functions/ModelFloorplanPlugin.html +4 -6
  61. package/docs/functions/ModelItemLabelPlugin.html +4 -6
  62. package/docs/functions/ModelRoomLabelPlugin.html +4 -6
  63. package/docs/functions/ModelTVVideoPlugin.html +4 -6
  64. package/docs/functions/ModelViewPlugin.html +4 -6
  65. package/docs/functions/Object3DHelperPlugin.html +4 -6
  66. package/docs/functions/PanoCompassPlugin.html +4 -6
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +4 -6
  68. package/docs/functions/PanoDoorLabelPlugin.html +4 -6
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +4 -6
  70. package/docs/functions/PanoMeasurePlugin.html +4 -6
  71. package/docs/functions/PanoRulerPlugin.html +4 -6
  72. package/docs/functions/PanoRulerProPlugin.html +4 -6
  73. package/docs/functions/PanoSpatialTagPlugin.html +4 -6
  74. package/docs/functions/PanoTagPlugin.html +4 -6
  75. package/docs/functions/PanoVideoPlugin.html +4 -6
  76. package/docs/functions/PipelinePlugin.html +4 -6
  77. package/docs/functions/TopviewFloorplanPlugin.html +4 -6
  78. package/docs/functions/Util.absoluteUrl.html +5 -7
  79. package/docs/functions/Util.checkFiveModelLoaded.html +5 -7
  80. package/docs/functions/Util.equal.html +5 -7
  81. package/docs/functions/Util.getCoordsFromClient.html +5 -7
  82. package/docs/functions/Util.getCoordsFromElement.html +5 -7
  83. package/docs/functions/Util.getFrameTime.html +5 -7
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -7
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -7
  86. package/docs/functions/Util.isAbsoluteURL.html +5 -7
  87. package/docs/functions/Util.isModelLike.html +5 -7
  88. package/docs/functions/Util.isNil.html +5 -7
  89. package/docs/functions/Util.isPanoramaLike.html +5 -7
  90. package/docs/functions/Util.nextFrame.html +5 -7
  91. package/docs/functions/Util.notNil.html +5 -7
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -7
  93. package/docs/functions/Util.tweenProgress.html +5 -7
  94. package/docs/functions/Util.uuid.html +5 -7
  95. package/docs/functions/pluginFlag.html +5 -7
  96. package/docs/index.html +5 -7
  97. package/docs/interfaces/AddTagConfig.html +6 -8
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -8
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +6 -8
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -17
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +7 -9
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -11
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +8 -10
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -8
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -8
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -8
  107. package/docs/interfaces/AreaMakerPluginType.State.html +8 -10
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +11 -13
  109. package/docs/interfaces/CSS3DRenderPluginState.html +8 -10
  110. package/docs/interfaces/CameraMovementPluginExportType.html +7 -9
  111. package/docs/interfaces/CruisePluginTypes.Config.html +9 -11
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -15
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +21 -23
  114. package/docs/interfaces/CruisePluginTypes.MoveAction.html +13 -15
  115. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +15 -17
  116. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +15 -17
  117. package/docs/interfaces/CruisePluginTypes.PluginData.html +10 -12
  118. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -9
  119. package/docs/interfaces/CruisePluginTypes.PluginState.html +36 -17
  120. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +11 -13
  121. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +12 -14
  122. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +7 -9
  123. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +6 -8
  124. package/docs/interfaces/CurrentPanoImagePluginType.State.html +8 -10
  125. package/docs/interfaces/EventMap.html +15 -17
  126. package/docs/interfaces/FloorplanBounding.html +8 -10
  127. package/docs/interfaces/FloorplanData.html +10 -12
  128. package/docs/interfaces/FloorplanEntrance.html +11 -13
  129. package/docs/interfaces/FloorplanExtraObject.html +10 -12
  130. package/docs/interfaces/FloorplanExtraObject3D.html +8 -10
  131. package/docs/interfaces/FloorplanFloorData.html +9 -11
  132. package/docs/interfaces/FloorplanImagePosition.html +7 -9
  133. package/docs/interfaces/FloorplanObserver.html +9 -11
  134. package/docs/interfaces/FloorplanOutlineItem.html +9 -11
  135. package/docs/interfaces/FloorplanPosition.html +7 -9
  136. package/docs/interfaces/FloorplanRoomItem.html +13 -15
  137. package/docs/interfaces/FloorplanRoomLabelItem.html +7 -9
  138. package/docs/interfaces/FloorplanServerBounding.html +8 -10
  139. package/docs/interfaces/FloorplanServerComputedData.html +10 -12
  140. package/docs/interfaces/FloorplanServerData.html +7 -9
  141. package/docs/interfaces/FloorplanServerDoorItem.html +10 -12
  142. package/docs/interfaces/FloorplanServerDoorPosition.html +8 -10
  143. package/docs/interfaces/FloorplanServerEntrance.html +11 -13
  144. package/docs/interfaces/FloorplanServerFloorData.html +9 -11
  145. package/docs/interfaces/FloorplanServerImagePosition.html +7 -9
  146. package/docs/interfaces/FloorplanServerObserver.html +9 -11
  147. package/docs/interfaces/FloorplanServerOutlineItem.html +9 -11
  148. package/docs/interfaces/FloorplanServerPosition.html +7 -9
  149. package/docs/interfaces/FloorplanServerRoomItem.html +14 -16
  150. package/docs/interfaces/FloorplanServerRoomLabelItem.html +7 -9
  151. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +8 -10
  152. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -13
  153. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -16
  154. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -11
  155. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -9
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +14 -16
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -9
  158. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -11
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -22
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -10
  161. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -22
  162. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -8
  163. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -9
  164. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -11
  165. package/docs/interfaces/GuideLinePluginType.Route.html +12 -14
  166. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -12
  167. package/docs/interfaces/HelperOffset.html +8 -10
  168. package/docs/interfaces/ImagePlaneGroup.html +6 -8
  169. package/docs/interfaces/ItemLabelPluginData.html +6 -8
  170. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +11 -13
  171. package/docs/interfaces/ItemLabelPluginParametersType.html +9 -11
  172. package/docs/interfaces/MinMax.html +7 -9
  173. package/docs/interfaces/ModelChassisCompassPluginData.html +7 -9
  174. package/docs/interfaces/ModelChassisCompassPluginExportType.html +8 -10
  175. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +7 -9
  176. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +8 -10
  177. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +8 -10
  178. package/docs/interfaces/ModelItemLabelPluginData.html +6 -8
  179. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +11 -13
  180. package/docs/interfaces/ModelItemLabelPluginParametersType.html +7 -9
  181. package/docs/interfaces/ModelRoomLabelPluginData.html +6 -8
  182. package/docs/interfaces/ModelTVVideoPluginData.html +9 -11
  183. package/docs/interfaces/ModelTVVideoPluginExportType.html +8 -10
  184. package/docs/interfaces/ModelTVVideoPluginParameterType.html +6 -8
  185. package/docs/interfaces/ModelViewPluginExportType.html +11 -13
  186. package/docs/interfaces/Object3DHelperState.html +8 -10
  187. package/docs/interfaces/ObjectHelperControllers.html +9 -11
  188. package/docs/interfaces/PaintBrushAction.html +12 -14
  189. package/docs/interfaces/PaintBrushConfigs.html +12 -14
  190. package/docs/interfaces/PaintBrushState.html +10 -12
  191. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +10 -12
  192. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -7
  193. package/docs/interfaces/PanoMeasureParameterType.html +16 -18
  194. package/docs/interfaces/PanoMeasurePluginLineJson.html +8 -10
  195. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +7 -9
  196. package/docs/interfaces/PanoMeasurePluginPointJson.html +7 -9
  197. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +8 -10
  198. package/docs/interfaces/PanoRulerPluginExportType.html +10 -12
  199. package/docs/interfaces/PanoRulerPluginOptions.html +7 -9
  200. package/docs/interfaces/PanoRulerPluginParameterType.html +8 -10
  201. package/docs/interfaces/PanoRulerProPluginExportType.html +9 -11
  202. package/docs/interfaces/PanoRulerProPluginOptions.html +7 -9
  203. package/docs/interfaces/PanoRulerProPluginParameterType.html +7 -9
  204. package/docs/interfaces/PanoRulerProPluginState.html +8 -10
  205. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -7
  206. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -7
  207. package/docs/interfaces/PanoSpatialTagPluginData.html +11 -13
  208. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +10 -12
  209. package/docs/interfaces/PanoSpatialTagPluginExportType.html +13 -15
  210. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +10 -12
  211. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +13 -15
  212. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +11 -13
  213. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +10 -12
  214. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +6 -8
  215. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -10
  216. package/docs/interfaces/PanoVideoPluginType.PluginData.html +6 -8
  217. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +9 -11
  218. package/docs/interfaces/PanoVideoPluginType.PluginState.html +6 -8
  219. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +8 -10
  220. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +10 -12
  221. package/docs/interfaces/Point.html +8 -10
  222. package/docs/interfaces/Room.html +9 -11
  223. package/docs/interfaces/RoomInfo.html +7 -9
  224. package/docs/interfaces/RoomLabel.html +14 -16
  225. package/docs/interfaces/RoomRules.html +5 -7
  226. package/docs/interfaces/Rooms.html +5 -7
  227. package/docs/interfaces/Scissor.html +9 -11
  228. package/docs/interfaces/State.html +8 -10
  229. package/docs/interfaces/TagCacheInterface.html +12 -14
  230. package/docs/interfaces/TagConfig.html +14 -16
  231. package/docs/interfaces/TagGLTFObjectGroup.html +6 -8
  232. package/docs/interfaces/TagIconUrl.html +12 -14
  233. package/docs/interfaces/TagObjectGroup.html +6 -8
  234. package/docs/interfaces/TagStyle.html +6 -8
  235. package/docs/interfaces/Tags.html +144 -14
  236. package/docs/interfaces/TemporaryState.html +6 -8
  237. package/docs/interfaces/Util.MagnifierParameter.html +11 -13
  238. package/docs/interfaces/Util.MouseGroupParameter.html +8 -10
  239. package/docs/interfaces/Util.PointIntersection.html +8 -10
  240. package/docs/modules/AreaMakerPluginType.html +5 -7
  241. package/docs/modules/CruisePluginTypes.html +5 -7
  242. package/docs/modules/CurrentPanoImagePluginType.html +5 -7
  243. package/docs/modules/GuideLineItem.html +5 -7
  244. package/docs/modules/GuideLineModeItem.html +5 -7
  245. package/docs/modules/GuideLinePluginType.html +5 -7
  246. package/docs/modules/PanoVideoPluginType.html +5 -7
  247. package/docs/modules/Util.html +5 -7
  248. package/docs/modules.html +9 -27
  249. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -7
  250. package/docs/types/AreaMakerPluginType.PluginData.html +5 -7
  251. package/docs/types/AreaMakerPluginType.ServerData.html +5 -7
  252. package/docs/types/ArrayPosition.html +5 -7
  253. package/docs/types/AudioAppearance.html +5 -7
  254. package/docs/types/AudioTagTypeConfigKey.html +5 -7
  255. package/docs/types/CSS3DRenderExportType.html +5 -7
  256. package/docs/types/CSS3DRenderPluginExportType.html +5 -7
  257. package/docs/types/CSS3DRenderPluginParameterType.html +5 -7
  258. package/docs/types/ClassFunctionParameters.html +5 -7
  259. package/docs/types/Color.html +5 -7
  260. package/docs/types/ContentTypeConfigKey.html +5 -7
  261. package/docs/types/ContentTypeConfigKeySplit.html +5 -7
  262. package/docs/types/ContentTypeMap.html +5 -7
  263. package/docs/types/Create3DDomContainerReturnType.html +5 -7
  264. package/docs/types/Create3DElementReturnType.html +5 -7
  265. package/docs/types/CruisePluginExportType.html +5 -7
  266. package/docs/types/CruisePluginTypes.CruiseData.html +6 -8
  267. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -8
  268. package/docs/types/CurrentPanoImagePluginExportType.html +5 -7
  269. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -7
  270. package/docs/types/DeprecatedTagProperty.html +5 -7
  271. package/docs/types/Direction-1.html +5 -7
  272. package/docs/types/Direction4.html +5 -7
  273. package/docs/types/ElementRenderer.html +5 -7
  274. package/docs/types/FloorplanRuleLabels.html +5 -7
  275. package/docs/types/FloorplanServerRuleLabels.html +5 -7
  276. package/docs/types/GuideLinePluginExportType.html +5 -7
  277. package/docs/types/GuideLinePluginType.GuideLineItem.html +6 -8
  278. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -8
  279. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -8
  280. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -8
  281. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -8
  282. package/docs/types/GuideLinePluginType.PathItem.html +6 -8
  283. package/docs/types/GuideLinePluginType.PluginData.html +6 -8
  284. package/docs/types/HelperEventMap.html +5 -7
  285. package/docs/types/LoadTagConfig.html +5 -7
  286. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -7
  287. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -7
  288. package/docs/types/MediaData.html +11 -8
  289. package/docs/types/MediaStore.html +5 -7
  290. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -7
  291. package/docs/types/ModelFloorplanPluginParameterType.html +5 -7
  292. package/docs/types/ModelFloorplanPluginReturnType.html +5 -7
  293. package/docs/types/ModelId.html +5 -7
  294. package/docs/types/ModelRoomLabelPluginParameters.html +5 -7
  295. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -7
  296. package/docs/types/MoveArgs.html +5 -7
  297. package/docs/types/MoveOpts.html +5 -7
  298. package/docs/types/Object3DHelperEventMap.html +5 -7
  299. package/docs/types/ObjectFit.html +5 -7
  300. package/docs/types/PaintBrushEventMap.html +5 -7
  301. package/docs/types/PanoCompassPluginData.html +5 -7
  302. package/docs/types/PanoCompassPluginExportType.html +5 -7
  303. package/docs/types/PanoCompassPluginParameterType.html +5 -7
  304. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -7
  305. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -7
  306. package/docs/types/PanoIndex.html +5 -7
  307. package/docs/types/PanoMeasurePluginEvent.html +5 -7
  308. package/docs/types/PanoMeasureReturnType.html +5 -7
  309. package/docs/types/PanoSpatialTagPluginId.html +5 -7
  310. package/docs/types/PanoTagPluginExportInterface.html +5 -7
  311. package/docs/types/PanoTagPluginParamsInterface.html +5 -7
  312. package/docs/types/PanoVideoPluginParameterType.html +5 -7
  313. package/docs/types/PanoVideoPluginReturnType.html +5 -7
  314. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -7
  315. package/docs/types/PipelinePluginParameterType.html +5 -7
  316. package/docs/types/PipelinePluginReturnType.html +5 -7
  317. package/docs/types/PlaneTag.html +5 -7
  318. package/docs/types/Point2DTag.html +5 -7
  319. package/docs/types/Point3DTag.html +5 -7
  320. package/docs/types/PointTag.html +5 -7
  321. package/docs/types/PointTagInstance.html +5 -7
  322. package/docs/types/Position.html +5 -7
  323. package/docs/types/RotateArgs.html +5 -7
  324. package/docs/types/RotateOpts.html +5 -7
  325. package/docs/types/RuleLabelsKey.html +5 -7
  326. package/docs/types/RuleLabelsValue.html +5 -7
  327. package/docs/types/StickType.html +5 -7
  328. package/docs/types/Tag.html +5 -7
  329. package/docs/types/Tag2D.html +5 -7
  330. package/docs/types/Tag3D.html +5 -7
  331. package/docs/types/TagConfigByKey.html +5 -7
  332. package/docs/types/TagContentType.html +5 -7
  333. package/docs/types/TagDimensionType.html +5 -7
  334. package/docs/types/TagElement.html +5 -7
  335. package/docs/types/TagEvents.html +5 -7
  336. package/docs/types/TagGLTFObject.html +5 -7
  337. package/docs/types/TagHooks.html +5 -7
  338. package/docs/types/TagId.html +5 -7
  339. package/docs/types/TagInstance.html +5 -7
  340. package/docs/types/TagPointType.html +5 -7
  341. package/docs/types/TagRendererMap.html +5 -7
  342. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -7
  343. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -7
  344. package/docs/types/WorkCode.html +5 -7
  345. package/docs/variables/FLOOR_TYPE_MAP.html +5 -7
  346. package/docs/variables/PLUGIN.html +5 -7
  347. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -7
  348. package/docs/variables/ROOM_TYPE_MAP.html +5 -7
  349. package/docs/variables/defaultGlobalConfig.html +5 -7
  350. package/docs/variables/itemLabelPluginServerParams.html +5 -7
  351. package/docs/variables/modelItemLabelPluginServerParams.html +5 -7
  352. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -7
  353. package/libs/CruisePlugin/{Work.d.ts → Controller.d.ts} +8 -1
  354. package/libs/CruisePlugin/{Work.js → Controller.js} +177 -148
  355. package/libs/CruisePlugin/index.d.ts +3 -4
  356. package/libs/CruisePlugin/index.js +11 -15
  357. package/libs/CruisePlugin/typing.d.ts +2 -2
  358. package/libs/GuideLinePlugin/Controller.d.ts +6 -1
  359. package/libs/GuideLinePlugin/Controller.js +63 -48
  360. package/libs/GuideLinePlugin/GuideLineItem/index.js +43 -53
  361. package/libs/GuideLinePlugin/GuideLineItem.js +10 -12
  362. package/libs/GuideLinePlugin/GuideLineModeItem.js +3 -2
  363. package/libs/GuideLinePlugin/index.js +18 -20
  364. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +2 -0
  365. package/libs/PanoTagPlugin/Archive/deprecated.js +1 -1
  366. package/libs/PanoTagPlugin/Components/Common/Shadow.js +96 -90
  367. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.js +130 -0
  368. package/libs/PanoTagPlugin/Components/Tag/PanoramaTag.svelte.d.ts +1 -0
  369. package/libs/PanoTagPlugin/Components/Tag/index.js +166 -128
  370. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  371. package/libs/PanoTagPlugin/Components/TagItem.js +288 -255
  372. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +0 -4
  373. package/libs/PanoTagPlugin/controller/TagComputer.js +116 -135
  374. package/libs/PanoTagPlugin/controller/TagRender.d.ts +4 -0
  375. package/libs/PanoTagPlugin/controller/TagRender.js +92 -72
  376. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +3 -3
  377. package/libs/PanoTagPlugin/controller/index.js +6 -5
  378. package/libs/PanoTagPlugin/index.js +12 -11
  379. package/libs/PanoTagPlugin/tag.config.js +6 -12
  380. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +6 -0
  381. package/libs/base/BasePlugin.js +1 -1
  382. package/libs/index.js +100 -104
  383. package/libs/shared-utils/logger.js +1 -1
  384. package/package.json +2 -2
  385. package/dist/CruisePlugin/CruiseController.d.ts +0 -147
  386. package/dist/CruisePlugin/Move.d.ts +0 -28
  387. package/dist/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
  388. package/dist/shared-utils/five/fiveLoaded.d.ts +0 -2
  389. package/docs/classes/MoveController.html +0 -641
  390. package/libs/CruisePlugin/CruiseController.d.ts +0 -147
  391. package/libs/CruisePlugin/CruiseController.js +0 -236
  392. package/libs/CruisePlugin/Move.d.ts +0 -28
  393. package/libs/CruisePlugin/Move.js +0 -112
  394. package/libs/CruisePlugin/utils/getFiveStateOnCurve.d.ts +0 -11
  395. package/libs/CruisePlugin/utils/getFiveStateOnCurve.js +0 -11
  396. package/libs/shared-utils/five/fiveLoaded.d.ts +0 -2
  397. package/libs/shared-utils/five/fiveLoaded.js +0 -30
  398. package/libs/shared-utils/formatRad.d.ts +0 -7
  399. package/libs/shared-utils/formatRad.js +0 -7
  400. /package/dist/{shared-utils → CruisePlugin/utils}/formatRad.d.ts +0 -0
  401. /package/dist/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
  402. /package/libs/{shared-utils/vectorToCoordinate.d.ts → CruisePlugin/utils/vectorToCoordinates.d.ts} +0 -0
  403. /package/libs/{shared-utils/vectorToCoordinate.js → CruisePlugin/utils/vectorToCoordinates.js} +0 -0
@@ -1,40 +1,40 @@
1
- var V = Object.defineProperty;
1
+ var A = Object.defineProperty;
2
2
  var R = Object.getOwnPropertySymbols;
3
- var E = Object.prototype.hasOwnProperty, A = Object.prototype.propertyIsEnumerable;
4
- var C = (c, l, t) => l in c ? V(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
3
+ var V = Object.prototype.hasOwnProperty, E = Object.prototype.propertyIsEnumerable;
4
+ var C = (c, l, t) => l in c ? A(c, l, { enumerable: !0, configurable: !0, writable: !0, value: t }) : c[l] = t, j = (c, l) => {
5
5
  for (var t in l || (l = {}))
6
- E.call(l, t) && C(c, t, l[t]);
6
+ V.call(l, t) && C(c, t, l[t]);
7
7
  if (R)
8
8
  for (var t of R(l))
9
- A.call(l, t) && C(c, t, l[t]);
9
+ E.call(l, t) && C(c, t, l[t]);
10
10
  return c;
11
11
  };
12
12
  var f = (c, l, t) => (C(c, typeof l != "symbol" ? l + "" : l, t), t);
13
13
  var S = (c, l, t) => new Promise((e, o) => {
14
- var i = (r) => {
14
+ var i = (s) => {
15
15
  try {
16
- a(t.next(r));
16
+ a(t.next(s));
17
17
  } catch (n) {
18
18
  o(n);
19
19
  }
20
- }, s = (r) => {
20
+ }, r = (s) => {
21
21
  try {
22
- a(t.throw(r));
22
+ a(t.throw(s));
23
23
  } catch (n) {
24
24
  o(n);
25
25
  }
26
- }, a = (r) => r.done ? e(r.value) : Promise.resolve(r.value).then(i, s);
26
+ }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(i, r);
27
27
  a((t = t.apply(c, l)).next());
28
28
  });
29
- import { TagComputer as x } from "./TagComputer.js";
30
- import { Group as y, Quaternion as O, Vector3 as b, Matrix4 as v } from "three";
31
- import I from "../Components/TagContainer.js";
29
+ import { TagComputer as I } from "./TagComputer.js";
30
+ import { Group as y, Quaternion as O, Vector3 as T, Matrix4 as v } from "three";
31
+ import x from "../Components/TagContainer.js";
32
32
  import G from "../Components/Tag/index.js";
33
33
  import { CSS3DRenderPlugin as F } from "../../CSS3DRenderPlugin/index.js";
34
- import { loadGLTF as L } from "../../shared-utils/three/GLTFLoader.js";
35
- import { isMediaModelTag as D, isStickModelTag as W } from "../utils/tag/tagCheck.js";
34
+ import { loadGLTF as _ } from "../../shared-utils/three/GLTFLoader.js";
35
+ import { isMediaModelTag as D, isStickModelTag as L } from "../utils/tag/tagCheck.js";
36
36
  import { VideoPlane as w, ImagePlane as k } from "../utils/model/mediaPlane.js";
37
- import { centerPoint as $ } from "../../shared-utils/three/centerPoint.js";
37
+ import { centerPoint as W } from "../../shared-utils/three/centerPoint.js";
38
38
  import { arrayPositionToVector3 as g } from "../../shared-utils/positionToVector3.js";
39
39
  import "../utils/tagPosition.js";
40
40
  import "../utils/checkRange.js";
@@ -154,12 +154,13 @@ import "../Components/Common/Icon/audioIcon.js";
154
154
  import "../Components/Tag/AudioTag/AudioPlaneTag.js";
155
155
  import "../Components/Tag/MediaPlane.js";
156
156
  import "../Components/Tag/LinkTag.js";
157
+ import "../Components/Tag/PanoramaTag.js";
157
158
  import "../Components/Tag/CustomTag.js";
158
159
  import "../../CSS3DRenderPlugin/Controller.js";
159
160
  import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
160
161
  import "@realsee/five/gltf-loader";
161
- const q = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map();
162
- class ui extends x {
162
+ const $ = /* @__PURE__ */ new Map(), q = /* @__PURE__ */ new Map();
163
+ class fi extends I {
163
164
  constructor(t) {
164
165
  super(t);
165
166
  f(this, "group", new y());
@@ -179,13 +180,13 @@ class ui extends x {
179
180
  if (!e)
180
181
  return;
181
182
  t.loading = !0;
182
- const o = L(e).then((r) => {
183
+ const o = _(e).then((s) => {
183
184
  var m;
184
- const n = Object.assign(r.scene, {
185
+ const n = Object.assign(s.scene, {
185
186
  customID: t.id,
186
187
  isTagModel: !0,
187
188
  removeEventListener: this.getTagConfig(t).clickable === !1 ? () => {
188
- } : this.addObjectClickHandler(t, r.scene, (h) => {
189
+ } : this.addObjectClickHandler(t, s.scene, (h) => {
189
190
  this.hooks.emit("click", { target: "TagModel", tag: t, event: h });
190
191
  })
191
192
  });
@@ -196,14 +197,14 @@ class ui extends x {
196
197
  if (t.loading = !1, ((a = t.model) == null ? void 0 : a.promise) !== o || !this.tags.includes(t))
197
198
  return;
198
199
  t.model.object = i;
199
- const s = this.gltfObjectGroup.children.find((r) => r.customID === t.id);
200
- if (s && (this.gltfObjectGroup.remove(s), s.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
200
+ const r = this.gltfObjectGroup.children.find((s) => s.customID === t.id);
201
+ if (r && (this.gltfObjectGroup.remove(r), r.removeEventListener()), this.updateRender3DDomTag(), D(t)) {
201
202
  if (this.getRenderType(t) === "Mesh" && !t.mediaPlane) {
202
- const r = t.data.mediaPosition.map(g);
203
+ const s = t.data.mediaPosition.map(g);
203
204
  t.mediaPlane = new k(t.data.mediaData[0].url, t.data.mediaPosition.map(g), {
204
205
  objectFit: t.data.objectFit
205
206
  });
206
- const n = new b().addVectors(r[0], r[2]).divideScalar(2);
207
+ const n = new T().addVectors(s[0], s[2]).divideScalar(2);
207
208
  t.mediaPlane.position.copy(n), i.add(t.mediaPlane);
208
209
  }
209
210
  this.getRenderType(t) !== "Mesh" && (i.updateTagCss3DObjectMatrix = () => this.updateTagCss3DObjectMatrix(t, i), i.updateTagCss3DObjectMatrix());
@@ -248,22 +249,22 @@ class ui extends x {
248
249
  if (!i)
249
250
  return;
250
251
  e.mediaPlane && !((h = (m = e.state) == null ? void 0 : m.visible) == null || h) && e.mediaPlane instanceof w && e.mediaPlane.pause();
251
- const s = e.position.map(g), a = this.getCurrentVisibleState(e), r = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), p = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
252
- if ((r || p) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || p) {
253
- const d = new w(i, s, {
252
+ const r = e.position.map(g), a = this.getCurrentVisibleState(e), s = (() => !!(e.mediaPlane && !a))(), n = (() => !!(!e.mediaPlane && a))(), d = (() => !!(e.mediaPlane && e.mediaPlane.src !== i))();
253
+ if ((s || d) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), n || d) {
254
+ const p = new w(i, r, {
254
255
  videoCoverSrc: o.videoCoverUrl,
255
256
  playButton: e.data.playIcon,
256
257
  paused: !((P = e.data.autoplayConfig) != null && P.autoplayVideo),
257
258
  objectFit: e.data.objectFit,
258
- videoTextureMap: q,
259
- ImageTextureMap: B,
259
+ videoTextureMap: $,
260
+ ImageTextureMap: q,
260
261
  domEvents: this.domEvents
261
262
  });
262
- d.onVideoReady = (u) => {
263
- u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: d.videoInstance }));
263
+ p.onVideoReady = (u) => {
264
+ u.addEventListener("play", () => this.mediaStore.set({ currentMediaElement: p.videoInstance }));
264
265
  };
265
- const T = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
266
- d.initialRenderHooks(T), e.mediaPlane = d, this.imagePlaneGroup.add(e.mediaPlane);
266
+ const b = (u) => (this.five.on("renderFrame", u), () => this.five.off("renderFrame", u));
267
+ p.initialRenderHooks(b), e.mediaPlane = p, this.imagePlaneGroup.add(e.mediaPlane);
267
268
  }
268
269
  });
269
270
  }
@@ -278,9 +279,9 @@ class ui extends x {
278
279
  const { url: o } = e.data.mediaData[0];
279
280
  if (!o)
280
281
  return;
281
- const i = e.position.map(g), s = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !s))(), r = (() => !!(!e.mediaPlane && s))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
282
- (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (r || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (p) => {
283
- this.hooks.emit("click", { tag: e, target: "TagContent", event: p.origDomEvent });
282
+ const i = e.position.map(g), r = this.getCurrentVisibleState(e), a = (() => !!(e.mediaPlane && !r))(), s = (() => !!(!e.mediaPlane && r))(), n = (() => !!(e.mediaPlane && e.mediaPlane.src !== o))();
283
+ (a || n) && e.mediaPlane && (this.imagePlaneGroup.remove(e.mediaPlane), e.mediaPlane.dispose(), e.mediaPlane.removeFromParent(), e.mediaPlane = void 0), (s || n) && (e.mediaPlane = new k(o, i, { objectFit: e.data.objectFit }), this.getTagConfig(e).clickable !== !1 && this.domEvents.addAutoBindEventListener(e.mediaPlane, "click", (d) => {
284
+ this.hooks.emit("click", { tag: e, target: "TagContent", event: d.origDomEvent });
284
285
  }), this.imagePlaneGroup.add(e.mediaPlane));
285
286
  });
286
287
  }
@@ -289,12 +290,12 @@ class ui extends x {
289
290
  */
290
291
  updateRender3DDomTag() {
291
292
  this.filterCSS3DTag.forEach((e) => {
292
- var o, i, s;
293
+ var o, i, r;
293
294
  if (e.tag3DContentSvelte) {
294
- const { svelteApp: a, css3DInstance: r, initialNormal: n, currentNormal: p } = e.tag3DContentSvelte;
295
- if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(p)) {
296
- const m = new O().setFromUnitVectors(n, p);
297
- r.css3DObject.setRotationFromQuaternion(m);
295
+ const { svelteApp: a, css3DInstance: s, initialNormal: n, currentNormal: d } = e.tag3DContentSvelte;
296
+ if (a.$set({ tag: e, hooks: this.hooks, state: this.state, temporaryState: this.temporaryState }), !n.equals(d)) {
297
+ const m = new O().setFromUnitVectors(n, d);
298
+ s.css3DObject.setRotationFromQuaternion(m);
298
299
  }
299
300
  return;
300
301
  } else {
@@ -305,24 +306,24 @@ class ui extends x {
305
306
  const a = this.getPositions(e);
306
307
  if (!a)
307
308
  return;
308
- const r = this.getTagNormal(e);
309
- if (!r)
309
+ const s = this.getTagNormal(e);
310
+ if (!s)
310
311
  return;
311
- const n = this.getTagConfig(e), p = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
312
- if (this.getRenderType(e) === "BehindDom" || p.mode === "behind") {
313
- p.mode = "behind", p.container = document.createElement("div");
312
+ const n = this.getTagConfig(e), d = j({ wrapperStyle: { zIndex: this.calculateTagZIndex(e).toString() } }, n.tag3DConfig);
313
+ if (this.getRenderType(e) === "BehindDom" || d.mode === "behind") {
314
+ d.mode = "behind", d.container = document.createElement("div");
314
315
  const P = "black";
315
- p.container.style.backgroundColor = P, p.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
316
- var d;
316
+ d.container.style.backgroundColor = P, d.container.style.border = `3px solid ${P}`, this.css3DRenderPlugin.hooks.on("render", () => {
317
+ var p;
317
318
  if (m.css3DObject.opacityMesh && n.clickable !== !1) {
318
- const T = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
319
+ const b = this.addObjectClickHandler(e, m.css3DObject.opacityMesh, (u) => {
319
320
  this.hooks.emit("click", { event: u, target: "TagContent", tag: e });
320
321
  });
321
- (d = this.store.css3DRenderDisposer.get(e.id)) == null || d.push(T);
322
+ (p = this.store.css3DRenderDisposer.get(e.id)) == null || p.push(b);
322
323
  }
323
324
  });
324
325
  }
325
- const m = this.css3DRenderPlugin.create3DDomContainer(a, p);
326
+ const m = this.css3DRenderPlugin.create3DDomContainer(a, d);
326
327
  if (!m)
327
328
  return;
328
329
  this.store.css3DRenderDisposer.set(e.id, [m.dispose]);
@@ -341,12 +342,12 @@ class ui extends x {
341
342
  svelteApp: h,
342
343
  domContainer: m,
343
344
  css3DInstance: m,
344
- initialNormal: r,
345
- currentNormal: r,
345
+ initialNormal: s,
346
+ currentNormal: s,
346
347
  dispose: () => {
347
348
  h.$destroy(), m.dispose();
348
349
  }
349
- }, D(e) && ((s = e.model) != null && s.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
350
+ }, D(e) && ((r = e.model) != null && r.object) && this.updateTagCss3DObjectMatrix(e, e.model.object);
350
351
  }
351
352
  }), this.clearUnusedPanelTag();
352
353
  }
@@ -360,8 +361,8 @@ class ui extends x {
360
361
  updateRenderModelTag() {
361
362
  const t = (i) => !this.enabledModelTagSet.has(i.customID), e = this.gltfObjectGroup.children.filter(t);
362
363
  e.forEach((i) => i.removeEventListener()), this.gltfObjectGroup.remove(...e), this.tags.filter((i) => i.stickType === "Model").forEach((i) => {
363
- var s;
364
- (s = i.model) == null || s.promise.then((a) => {
364
+ var r;
365
+ (r = i.model) == null || r.promise.then((a) => {
365
366
  a.visible = this.getCurrentVisibleState(i);
366
367
  });
367
368
  }), this.five.needsRender = !0;
@@ -378,26 +379,45 @@ class ui extends x {
378
379
  * @param model 模型
379
380
  */
380
381
  updateTagCss3DObjectMatrix(t, e) {
381
- var T, u, M;
382
- const o = (u = (T = this.getTagConfig(t).tag3DConfig) == null ? void 0 : T.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
382
+ var b, u, M;
383
+ const o = (u = (b = this.getTagConfig(t).tag3DConfig) == null ? void 0 : b.ratio) != null ? u : 216e-5, i = (M = t.tag3DContentSvelte) == null ? void 0 : M.css3DInstance.css3DObject;
383
384
  if (!i)
384
385
  return;
385
- const s = D(t) ? t.data.mediaPosition : t.position;
386
- if (!s || s.length !== 4 || !Array.isArray(s[0]) || !Array.isArray(s[2]))
386
+ const r = D(t) ? t.data.mediaPosition : t.position;
387
+ if (!r || r.length !== 4 || !Array.isArray(r[0]) || !Array.isArray(r[2]))
387
388
  return;
388
389
  e.updateWorldMatrix(!1, !1);
389
- const a = e.matrixWorld, r = new b().fromArray(s[0]), n = new b().fromArray(s[2]), p = $(r, n).add(new b(0, 0, 5e-4)), m = new v().setPosition(p), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
390
+ const a = e.matrixWorld, s = new T().fromArray(r[0]), n = new T().fromArray(r[2]), d = W(s, n).add(new T(0, 0, 5e-4)), m = new v().setPosition(d), h = new v().makeScale(o, o, o), P = new v().multiply(a).multiply(m).multiply(h);
390
391
  P.decompose(i.position, i.quaternion, i.scale);
391
- const d = i.opacityMesh;
392
- d && P.decompose(d.position, d.quaternion, d.scale);
392
+ const p = i.opacityMesh;
393
+ p && P.decompose(p.position, p.quaternion, p.scale);
393
394
  }
394
395
  /** 添加模型标签 */
395
396
  addMediaModelTag(t) {
396
397
  return S(this, null, function* () {
397
- const e = t.filter(W).map((o) => this.loadModel(o));
398
+ const e = t.filter(L).map((o) => this.loadModel(o));
398
399
  yield Promise.all(e), this.setVisible(), this.updateRenderAllTags();
399
400
  });
400
401
  }
402
+ /**
403
+ * @description: 一个点的标签
404
+ */
405
+ setPointTagPosition() {
406
+ const t = this.filterPointTag;
407
+ t.length !== 0 && t.forEach((e) => {
408
+ var a;
409
+ const o = this.getCurrentVisibleState(e), i = (a = e.__Object__) != null ? a : {
410
+ timeoutId: void 0,
411
+ inAnimation: !0
412
+ };
413
+ if (e.__Object__ = i, !o && e.screenPosition ? (i.inAnimation = !0, i.timeoutId = setTimeout(() => {
414
+ this.getCurrentVisibleState(e) || (i.inAnimation = !1, e.screenPosition = null, this.updateDomView());
415
+ }, 1e3)) : i.timeoutId && (i.inAnimation = !1, clearTimeout(i.timeoutId)), !o && !i.inAnimation)
416
+ return;
417
+ const r = this.getTagProject(e);
418
+ r ? e.screenPosition = { leftPercent: (r.x + 1) / 2 * 100, topPercent: (-r.y + 1) / 2 * 100 } : e.screenPosition = null;
419
+ });
420
+ }
401
421
  /**
402
422
  * @description: 渲染单个点的标签
403
423
  */
@@ -415,8 +435,8 @@ class ui extends x {
415
435
  temporaryState: this.temporaryState,
416
436
  withAnimation: this.store.visibleWithAnimation
417
437
  }), this.filterCSS3DTag.forEach((e) => {
418
- var o, i, s, a, r;
419
- (a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((s = e.state) == null ? void 0 : s.visible)) !== !1), (r = e.tag3DContentSvelte) == null || r.svelteApp.$set({
438
+ var o, i, r, a, s;
439
+ (a = (i = (o = e.tag3DContentSvelte) == null ? void 0 : o.css3DInstance) == null ? void 0 : i.css3DObject) == null || a.setVisible((this.state.visible && ((r = e.state) == null ? void 0 : r.visible)) !== !1), (s = e.tag3DContentSvelte) == null || s.svelteApp.$set({
420
440
  state: this.state,
421
441
  temporaryState: this.temporaryState,
422
442
  withAnimation: this.store.visibleWithAnimation
@@ -447,11 +467,11 @@ class ui extends x {
447
467
  if (this.TagContainerSvelte)
448
468
  this.TagContainerSvelte.$set({ tags: e, state: this.state, temporaryState: this.temporaryState });
449
469
  else {
450
- const s = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
451
- if (!s)
470
+ const r = (o = this.five.getElement()) == null ? void 0 : o.parentElement;
471
+ if (!r)
452
472
  return console.error("updateRenderPlaneTag: tag2DContainer not found");
453
- this.TagContainerSvelte = new I({
454
- target: s,
473
+ this.TagContainerSvelte = new x({
474
+ target: r,
455
475
  props: {
456
476
  hooks: this.hooks,
457
477
  tags: e,
@@ -466,5 +486,5 @@ class ui extends x {
466
486
  }
467
487
  }
468
488
  export {
469
- ui as TagRender
489
+ fi as TagRender
470
490
  };
@@ -38,7 +38,7 @@ export declare abstract class TagUtil extends TagCache {
38
38
  getTagConfig(tag: Tag, params?: {
39
39
  useCache?: boolean;
40
40
  fiveMode?: Mode;
41
- }): TagConfig<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
41
+ }): TagConfig<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown">;
42
42
  /**
43
43
  * @description 获取标签当前状态
44
44
  */
@@ -60,10 +60,10 @@ export declare abstract class TagUtil extends TagCache {
60
60
  protected addObjectClickHandler(tag: TagInstance, object: THREE.Object3D | undefined, handler: (event: Event) => any): () => void;
61
61
  protected getTagNormal(tag: TagInstance): THREE.Vector3 | undefined;
62
62
  protected get filterPointTag(): PointTagInstance[];
63
- protected get filter2DPointTag(): TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
63
+ protected get filter2DPointTag(): TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "2DPoint">[];
64
64
  protected get filterImagePlane(): TagInstance<"MediaPlane", "Plane">[];
65
65
  protected get filterMediaModel(): TagInstance<"MediaModel", "Model">[];
66
- protected get filterCSS3DTag(): (TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
66
+ protected get filterCSS3DTag(): (TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Plane"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "Model"> | TagInstance<"Panorama" | "Model" | "Custom" | "Audio" | "Text" | "ImageText" | "Image" | "Video" | "Link" | "Sticker" | "VRLink" | "PanoLink" | "Marketing" | "MediaPlane" | "MediaModel" | "Unknown", "3DPoint">)[];
67
67
  protected getTransformedPostion(position: Tag['position']): THREE.Vector3 | [THREE.Vector3, THREE.Vector3, THREE.Vector3, THREE.Vector3];
68
68
  /**
69
69
  * @description 检查是否已经销毁
@@ -159,6 +159,7 @@ import "../Components/Tag/MediaPlane.js";
159
159
  import "../Components/Tag/LinkTag.js";
160
160
  import "../Components/Common/Icon/Icon.js";
161
161
  import "../utils/getImageInfo.js";
162
+ import "../Components/Tag/PanoramaTag.js";
162
163
  import "../Components/Tag/CustomTag.js";
163
164
  import "../../vendor/classnames/index.js";
164
165
  import "../Components/Common/TagPoint.js";
@@ -168,8 +169,8 @@ import "../../CSS3DRenderPlugin/utils/waitFiveModelLoaded.js";
168
169
  import "../../shared-utils/three/GLTFLoader.js";
169
170
  import "@realsee/five/gltf-loader";
170
171
  import "../../shared-utils/animationFrame/index.js";
171
- const S = "Dnalogel-PanoTagPlugin", wi = (d) => `${S}--${d}`;
172
- class Ei extends z {
172
+ const S = "Dnalogel-PanoTagPlugin", Ei = (d) => `${S}--${d}`;
173
+ class Ui extends z {
173
174
  constructor(e, t) {
174
175
  super(e);
175
176
  /** state */
@@ -542,7 +543,7 @@ class Ei extends z {
542
543
  }
543
544
  }
544
545
  export {
545
- Ei as PanoTagPluginController,
546
- Ei as default,
547
- wi as pluginFlag
546
+ Ui as PanoTagPluginController,
547
+ Ui as default,
548
+ Ei as pluginFlag
548
549
  };
@@ -1,7 +1,7 @@
1
1
  import r from "./controller/index.js";
2
- import { pluginFlag as Mt } from "./controller/index.js";
3
- import { defaultGlobalConfig as Ot } from "./typings/tag/TagConfig.js";
4
- import { ContentType as Rt, DimensionType as St, PointType as Ut } from "./Archive/deprecated.js";
2
+ import { pluginFlag as Nt } from "./controller/index.js";
3
+ import { defaultGlobalConfig as Qt } from "./typings/tag/TagConfig.js";
4
+ import { ContentType as St, DimensionType as Ut, PointType as Vt } from "./Archive/deprecated.js";
5
5
  import "three";
6
6
  import "@realsee/five";
7
7
  import "../vendor/object-assign-deep/objectAssignDeep.js";
@@ -131,6 +131,7 @@ import "./Components/Tag/MediaPlane.js";
131
131
  import "./Components/Tag/LinkTag.js";
132
132
  import "./Components/Common/Icon/Icon.js";
133
133
  import "./utils/getImageInfo.js";
134
+ import "./Components/Tag/PanoramaTag.js";
134
135
  import "./Components/Tag/CustomTag.js";
135
136
  import "../vendor/classnames/index.js";
136
137
  import "./Components/Common/TagPoint.js";
@@ -142,14 +143,14 @@ import "@realsee/five/gltf-loader";
142
143
  import "../shared-utils/animationFrame/BetterTween.js";
143
144
  import "../shared-utils/animationFrame/index.js";
144
145
  import "../shared-utils/five/fiveModelLoad.js";
145
- const Jt = (o, t) => new r(o, t);
146
+ const Kt = (o, t) => new r(o, t);
146
147
  export {
147
- Rt as ContentType,
148
- St as DimensionType,
149
- Jt as PanoTagPlugin,
148
+ St as ContentType,
149
+ Ut as DimensionType,
150
+ Kt as PanoTagPlugin,
150
151
  r as PanoTagPluginController,
151
- Ut as PointType,
152
- Jt as default,
153
- Ot as defaultGlobalConfig,
154
- Mt as pluginFlag
152
+ Vt as PointType,
153
+ Kt as default,
154
+ Qt as defaultGlobalConfig,
155
+ Nt as pluginFlag
155
156
  };
@@ -26,36 +26,30 @@ const e = {
26
26
  "Any-Audio-plane": {
27
27
  unfoldedConfig: {
28
28
  keep: "unfolded"
29
- },
30
- initialState: {
31
- unfolded: !0
32
29
  }
33
30
  },
34
31
  Link: {
35
32
  unfoldedConfig: {
36
33
  // VR 跳转标签没有收起状态
37
34
  keep: "unfolded"
38
- },
39
- initialState: {
40
- unfolded: !0
35
+ }
36
+ },
37
+ Panorama: {
38
+ unfoldedConfig: {
39
+ // VR 跳转标签没有收起状态
40
+ keep: "unfolded"
41
41
  }
42
42
  },
43
43
  VRLink: {
44
44
  unfoldedConfig: {
45
45
  // VR 跳转标签没有收起状态
46
46
  keep: "unfolded"
47
- },
48
- initialState: {
49
- unfolded: !0
50
47
  }
51
48
  },
52
49
  PanoLink: {
53
50
  unfoldedConfig: {
54
51
  // VR 跳转标签没有收起状态
55
52
  keep: "unfolded"
56
- },
57
- initialState: {
58
- unfolded: !0
59
53
  }
60
54
  },
61
55
  MediaPlane: {
@@ -3,6 +3,10 @@ import type { Position, TagIconUrl } from './Utils';
3
3
  export type MediaData = {
4
4
  type: 'Image';
5
5
  url: string;
6
+ /**
7
+ * @description: 缩略图
8
+ */
9
+ thumbnail?: string;
6
10
  } | {
7
11
  type: 'Video';
8
12
  url: string;
@@ -66,6 +70,8 @@ interface ContentTypeMapInterface {
66
70
  Image: ContentTypeMapInterface['ImageText'];
67
71
  /** 视频标签 */
68
72
  Video: ContentTypeMapInterface['ImageText'];
73
+ /** 全景标签 */
74
+ Panorama: ContentTypeMapInterface['ImageText'];
69
75
  /** 跳转外链标签 */
70
76
  Link: {
71
77
  /** @deprecated: 'text' replace by 'title' */
@@ -14,7 +14,7 @@ let b = class {
14
14
  /**
15
15
  * @realsee/dnalogel 版本号
16
16
  */
17
- i(this, "VERSION", "3.4.0-dev.3");
17
+ i(this, "VERSION", "3.4.0-tag-dev.1");
18
18
  i(this, "five");
19
19
  /**
20
20
  * 插件事件钩子