@realsee/dnalogel 2.19.1 → 2.20.0-alpha.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 (363) hide show
  1. package/dist/PanoTagPlugin/Archive/deprecated.d.ts +48 -1
  2. package/dist/PanoTagPlugin/controller/TagComputer.d.ts +12 -12
  3. package/dist/PanoTagPlugin/controller/TagRender.d.ts +5 -5
  4. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +20 -20
  5. package/dist/PanoTagPlugin/controller/index.d.ts +7 -7
  6. package/dist/PanoTagPlugin/typings/controller.d.ts +8 -58
  7. package/dist/PanoTagPlugin/typings/index.d.ts +7 -5
  8. package/dist/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -4
  9. package/dist/PanoTagPlugin/utils/resizeObserver.d.ts +1 -1
  10. package/dist/PanoTagPlugin/utils/tag/tagCheck.d.ts +11 -11
  11. package/dist/PanoTagPlugin/utils/tagPosition.d.ts +2 -2
  12. package/dist/index.cjs.js +39 -39
  13. package/dist/index.js +677 -672
  14. package/dist/index.umd.js +32 -32
  15. package/docs/assets/search.js +1 -1
  16. package/docs/classes/CSS3DRender.html +45 -38
  17. package/docs/classes/CruisePluginController.html +40 -33
  18. package/docs/classes/GuideLineItem.GuideLineItem.html +34 -27
  19. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -38
  20. package/docs/classes/Magnifier.html +34 -27
  21. package/docs/classes/ModelRoomLabelController.html +25 -18
  22. package/docs/classes/Object3DHelperController.html +39 -32
  23. package/docs/classes/PaintBrush.html +29 -22
  24. package/docs/classes/PanoMeasurePluginLine.html +37 -30
  25. package/docs/classes/PanoMeasurePluginModel.html +36 -29
  26. package/docs/classes/PanoMeasurePluginPoint.html +28 -21
  27. package/docs/classes/PanoMeasurePluginPolyline.html +40 -33
  28. package/docs/classes/PanoTagPluginController.html +86 -79
  29. package/docs/classes/Util.BetterTween.html +23 -16
  30. package/docs/classes/Util.FivePointSelector.html +26 -19
  31. package/docs/classes/Util.Interval.html +26 -19
  32. package/docs/classes/Util.Magnifier.html +31 -24
  33. package/docs/classes/Util.PointDomHelper.html +25 -18
  34. package/docs/classes/Util.PointHelper.html +25 -18
  35. package/docs/classes/Util.Rectangle.html +27 -20
  36. package/docs/enums/CameraMovementEffect.html +21 -14
  37. package/docs/enums/ContentType.html +69 -58
  38. package/docs/enums/DIRECTION.html +23 -16
  39. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +23 -16
  40. package/docs/enums/DimensionType.html +21 -14
  41. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +22 -15
  42. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +23 -16
  43. package/docs/enums/PaintBrushTypeEnum.html +22 -15
  44. package/docs/enums/PointType.html +390 -0
  45. package/docs/enums/Rotation.html +22 -15
  46. package/docs/functions/CSS3DRenderPlugin.html +18 -11
  47. package/docs/functions/CameraMovementPlugin.html +18 -11
  48. package/docs/functions/CruisePlugin.html +18 -11
  49. package/docs/functions/GuideLinePlugin.html +19 -12
  50. package/docs/functions/ItemLabelPlugin.html +18 -11
  51. package/docs/functions/MapviewFloorplanPlugin.html +18 -11
  52. package/docs/functions/ModelChassisCompassPlugin.html +18 -11
  53. package/docs/functions/ModelEntryDoorGuidePlugin.html +18 -11
  54. package/docs/functions/ModelFloorplanPlugin.html +18 -11
  55. package/docs/functions/ModelItemLabelPlugin.html +18 -11
  56. package/docs/functions/ModelRoomLabelPlugin.html +18 -11
  57. package/docs/functions/ModelTVVideoPlugin.html +18 -11
  58. package/docs/functions/ModelViewPlugin.html +18 -11
  59. package/docs/functions/Object3DHelperPlugin.html +18 -11
  60. package/docs/functions/PanoCompassPlugin.html +18 -11
  61. package/docs/functions/PanoCursorRaycasterPlugin.html +18 -11
  62. package/docs/functions/PanoDoorLabelPlugin.html +18 -11
  63. package/docs/functions/PanoFloorplanRadarPlugin.html +18 -11
  64. package/docs/functions/PanoMeasurePlugin.html +18 -11
  65. package/docs/functions/PanoRulerPlugin.html +18 -11
  66. package/docs/functions/PanoRulerProPlugin.html +18 -11
  67. package/docs/functions/PanoSpatialTagPlugin.html +18 -11
  68. package/docs/functions/PanoTagPlugin.html +18 -11
  69. package/docs/functions/PanoVideoPlugin.html +18 -11
  70. package/docs/functions/TopviewFloorplanPlugin.html +18 -11
  71. package/docs/functions/Util.getCoordsFromClient.html +19 -12
  72. package/docs/functions/Util.getCoordsFromElement.html +19 -12
  73. package/docs/functions/Util.getFrameTime.html +19 -12
  74. package/docs/functions/Util.getIntersectFromRelativePosition.html +19 -12
  75. package/docs/functions/Util.getRaycasterFromFivePointer.html +19 -12
  76. package/docs/functions/Util.isAbsoluteURL.html +19 -12
  77. package/docs/functions/Util.isModelLike.html +19 -12
  78. package/docs/functions/Util.isNil.html +19 -12
  79. package/docs/functions/Util.isPanoramaLike.html +19 -12
  80. package/docs/functions/Util.nextFrame.html +19 -12
  81. package/docs/functions/Util.notNil.html +19 -12
  82. package/docs/functions/Util.requestAnimationFrameInterval.html +19 -12
  83. package/docs/functions/Util.tweenProgress.html +19 -12
  84. package/docs/functions/Util.uuid.html +19 -12
  85. package/docs/functions/pluginFlag.html +19 -12
  86. package/docs/index.html +19 -12
  87. package/docs/interfaces/AddTagConfig.html +20 -13
  88. package/docs/interfaces/CSS3DRenderPluginEventMap.html +25 -18
  89. package/docs/interfaces/CSS3DRenderPluginState.html +22 -15
  90. package/docs/interfaces/CameraMovementPluginExportType.html +21 -14
  91. package/docs/interfaces/ContentTypeMapInterface.html +724 -0
  92. package/docs/interfaces/CruisePluginTypes.Config.html +22 -15
  93. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +26 -19
  94. package/docs/interfaces/CruisePluginTypes.EventMap.html +34 -27
  95. package/docs/interfaces/CruisePluginTypes.MoveAction.html +26 -19
  96. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +28 -21
  97. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +28 -21
  98. package/docs/interfaces/CruisePluginTypes.PluginData.html +23 -16
  99. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +21 -14
  100. package/docs/interfaces/CruisePluginTypes.PluginState.html +25 -18
  101. package/docs/interfaces/EventMap.html +31 -24
  102. package/docs/interfaces/FloorplanBounding.html +22 -15
  103. package/docs/interfaces/FloorplanData.html +24 -17
  104. package/docs/interfaces/FloorplanEntrance.html +25 -18
  105. package/docs/interfaces/FloorplanExtraObject.html +24 -17
  106. package/docs/interfaces/FloorplanExtraObject3D.html +22 -15
  107. package/docs/interfaces/FloorplanFloorData.html +23 -16
  108. package/docs/interfaces/FloorplanImagePosition.html +21 -14
  109. package/docs/interfaces/FloorplanObserver.html +23 -16
  110. package/docs/interfaces/FloorplanOutlineItem.html +23 -16
  111. package/docs/interfaces/FloorplanPosition.html +21 -14
  112. package/docs/interfaces/FloorplanRoomItem.html +27 -20
  113. package/docs/interfaces/FloorplanRoomLabelItem.html +21 -14
  114. package/docs/interfaces/FloorplanServerBounding.html +22 -15
  115. package/docs/interfaces/FloorplanServerComputedData.html +24 -17
  116. package/docs/interfaces/FloorplanServerData.html +21 -14
  117. package/docs/interfaces/FloorplanServerDoorItem.html +24 -17
  118. package/docs/interfaces/FloorplanServerDoorPosition.html +22 -15
  119. package/docs/interfaces/FloorplanServerEntrance.html +25 -18
  120. package/docs/interfaces/FloorplanServerFloorData.html +23 -16
  121. package/docs/interfaces/FloorplanServerImagePosition.html +21 -14
  122. package/docs/interfaces/FloorplanServerObserver.html +23 -16
  123. package/docs/interfaces/FloorplanServerOutlineItem.html +23 -16
  124. package/docs/interfaces/FloorplanServerPosition.html +21 -14
  125. package/docs/interfaces/FloorplanServerRoomItem.html +28 -21
  126. package/docs/interfaces/FloorplanServerRoomLabelItem.html +21 -14
  127. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +22 -15
  128. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +24 -17
  129. package/docs/interfaces/GuideLinePluginType.EventMap.html +27 -20
  130. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +22 -15
  131. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +20 -13
  132. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +27 -20
  133. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +22 -15
  134. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +32 -25
  135. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +21 -14
  136. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +32 -25
  137. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +19 -12
  138. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +21 -14
  139. package/docs/interfaces/GuideLinePluginType.PluginState.html +22 -15
  140. package/docs/interfaces/GuideLinePluginType.Route.html +25 -18
  141. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +23 -16
  142. package/docs/interfaces/HelperOffset.html +22 -15
  143. package/docs/interfaces/ImagePlaneGroup.html +20 -13
  144. package/docs/interfaces/ItemLabelPluginData.html +20 -13
  145. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +25 -18
  146. package/docs/interfaces/ItemLabelPluginParametersType.html +23 -16
  147. package/docs/interfaces/MinMax.html +21 -14
  148. package/docs/interfaces/ModelChassisCompassPluginData.html +21 -14
  149. package/docs/interfaces/ModelChassisCompassPluginExportType.html +22 -15
  150. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +21 -14
  151. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +22 -15
  152. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +22 -15
  153. package/docs/interfaces/ModelItemLabelPluginData.html +20 -13
  154. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +25 -18
  155. package/docs/interfaces/ModelItemLabelPluginParametersType.html +21 -14
  156. package/docs/interfaces/ModelRoomLabelPluginData.html +20 -13
  157. package/docs/interfaces/ModelTVVideoPluginData.html +23 -16
  158. package/docs/interfaces/ModelTVVideoPluginExportType.html +22 -15
  159. package/docs/interfaces/ModelTVVideoPluginParameterType.html +20 -13
  160. package/docs/interfaces/ModelViewPluginExportType.html +25 -18
  161. package/docs/interfaces/Object3DHelperState.html +22 -15
  162. package/docs/interfaces/ObjectHelperControllers.html +23 -16
  163. package/docs/interfaces/PaintBrushAction.html +26 -19
  164. package/docs/interfaces/PaintBrushConfigs.html +26 -19
  165. package/docs/interfaces/PaintBrushState.html +24 -17
  166. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +24 -17
  167. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +19 -12
  168. package/docs/interfaces/PanoMeasureParameterType.html +28 -21
  169. package/docs/interfaces/PanoMeasurePluginLineJson.html +22 -15
  170. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +21 -14
  171. package/docs/interfaces/PanoMeasurePluginPointJson.html +21 -14
  172. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +22 -15
  173. package/docs/interfaces/PanoRulerPluginExportType.html +24 -17
  174. package/docs/interfaces/PanoRulerPluginOptions.html +21 -14
  175. package/docs/interfaces/PanoRulerPluginParameterType.html +22 -15
  176. package/docs/interfaces/PanoRulerProPluginExportType.html +23 -16
  177. package/docs/interfaces/PanoRulerProPluginOptions.html +21 -14
  178. package/docs/interfaces/PanoRulerProPluginParameterType.html +21 -14
  179. package/docs/interfaces/PanoRulerProPluginState.html +22 -15
  180. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +19 -12
  181. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +19 -12
  182. package/docs/interfaces/PanoSpatialTagPluginData.html +25 -18
  183. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +24 -17
  184. package/docs/interfaces/PanoSpatialTagPluginExportType.html +27 -20
  185. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +24 -17
  186. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +27 -20
  187. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +25 -18
  188. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +24 -17
  189. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +20 -13
  190. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +22 -15
  191. package/docs/interfaces/PanoVideoPluginType.PluginData.html +20 -13
  192. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +23 -16
  193. package/docs/interfaces/PanoVideoPluginType.PluginState.html +20 -13
  194. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +22 -15
  195. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +24 -17
  196. package/docs/interfaces/Point.html +22 -15
  197. package/docs/interfaces/Room.html +23 -16
  198. package/docs/interfaces/RoomInfo.html +21 -14
  199. package/docs/interfaces/RoomLabel.html +28 -21
  200. package/docs/interfaces/RoomRules.html +19 -12
  201. package/docs/interfaces/Rooms.html +19 -12
  202. package/docs/interfaces/Scissor.html +23 -16
  203. package/docs/interfaces/State.html +22 -15
  204. package/docs/interfaces/TagCacheInterface.html +26 -19
  205. package/docs/interfaces/TagConfig.html +32 -27
  206. package/docs/interfaces/TagGLTFObjectGroup.html +20 -13
  207. package/docs/interfaces/TagIconUrl.html +26 -19
  208. package/docs/interfaces/TagObjectGroup.html +20 -13
  209. package/docs/interfaces/TagStyle.html +20 -13
  210. package/docs/interfaces/Tags.html +116 -129
  211. package/docs/interfaces/TemporaryState.html +20 -13
  212. package/docs/interfaces/Util.MagnifierParameter.html +25 -18
  213. package/docs/interfaces/Util.MouseGroupParameter.html +22 -15
  214. package/docs/modules/CruisePluginTypes.html +19 -12
  215. package/docs/modules/GuideLineItem.html +19 -12
  216. package/docs/modules/GuideLineModeItem.html +19 -12
  217. package/docs/modules/GuideLinePluginType.html +19 -12
  218. package/docs/modules/PanoVideoPluginType.html +19 -12
  219. package/docs/modules/Util.html +19 -12
  220. package/docs/modules.html +34 -20
  221. package/docs/types/ArrayPosition.html +19 -12
  222. package/docs/types/AudioAppearance.html +20 -13
  223. package/docs/types/AudioTagTypeConfigKey.html +19 -12
  224. package/docs/types/CSS3DRenderExportType.html +19 -12
  225. package/docs/types/CSS3DRenderPluginExportType.html +19 -12
  226. package/docs/types/CSS3DRenderPluginParameterType.html +19 -12
  227. package/docs/types/ClassFunctionParameters.html +19 -12
  228. package/docs/types/Color.html +19 -12
  229. package/docs/types/ConfigFunction.html +390 -0
  230. package/docs/types/ContentTypeConfigKey.html +19 -12
  231. package/docs/types/ContentTypeConfigKeySplit.html +19 -12
  232. package/docs/types/ContentTypeMap.html +20 -13
  233. package/docs/types/ContentTypeMapInterfaceWithExtraData.html +359 -0
  234. package/docs/types/Create3DDomContainerReturnType.html +19 -12
  235. package/docs/types/Create3DElementReturnType.html +19 -12
  236. package/docs/types/CruisePluginExportType.html +19 -12
  237. package/docs/types/CruisePluginTypes.CruiseData.html +19 -12
  238. package/docs/types/CruisePluginTypes.MoveEffect.html +19 -12
  239. package/docs/types/DeprecatedMediaPlaneProperty.html +371 -0
  240. package/docs/types/DeprecatedTagProperty.html +374 -0
  241. package/docs/types/Direction-1.html +19 -12
  242. package/docs/types/Direction4.html +19 -12
  243. package/docs/types/ElementRenderer.html +19 -12
  244. package/docs/types/FloorplanRuleLabels.html +19 -12
  245. package/docs/types/FloorplanServerRuleLabels.html +19 -12
  246. package/docs/types/GuideLinePluginExportType.html +19 -12
  247. package/docs/types/GuideLinePluginType.GuideLineItem.html +19 -12
  248. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +19 -12
  249. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +19 -12
  250. package/docs/types/GuideLinePluginType.GuideLineStyle.html +19 -12
  251. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +19 -12
  252. package/docs/types/GuideLinePluginType.PathItem.html +19 -12
  253. package/docs/types/GuideLinePluginType.PluginData.html +19 -12
  254. package/docs/types/HelperEventMap.html +19 -12
  255. package/docs/types/LoadTagConfig.html +19 -12
  256. package/docs/types/MapviewFloorplanPluginParameterType.html +19 -12
  257. package/docs/types/MapviewFloorplanPluginReturnType.html +19 -12
  258. package/docs/types/MediaData.html +19 -12
  259. package/docs/types/MediaStore.html +19 -12
  260. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +19 -12
  261. package/docs/types/ModelFloorplanPluginParameterType.html +19 -12
  262. package/docs/types/ModelFloorplanPluginReturnType.html +19 -12
  263. package/docs/types/ModelRoomLabelPluginParameters.html +19 -12
  264. package/docs/types/ModelRoomLabelPluginReturnType.html +19 -12
  265. package/docs/types/MoveArgs.html +19 -12
  266. package/docs/types/MoveOpts.html +19 -12
  267. package/docs/types/{Point2DElement.html → Object.html} +22 -20
  268. package/docs/types/Object3DHelperEventMap.html +19 -12
  269. package/docs/types/ObjectFit.html +19 -12
  270. package/docs/types/PaintBrushEventMap.html +19 -12
  271. package/docs/types/PanoCompassPluginData.html +19 -12
  272. package/docs/types/PanoCompassPluginExportType.html +19 -12
  273. package/docs/types/PanoCompassPluginParameterType.html +19 -12
  274. package/docs/types/PanoFloorplanRadarPluginParameterType.html +19 -12
  275. package/docs/types/PanoFloorplanRadarPluginReturnType.html +19 -12
  276. package/docs/types/PanoIndex.html +19 -12
  277. package/docs/types/PanoMeasurePluginEvent.html +19 -12
  278. package/docs/types/PanoMeasureReturnType.html +19 -12
  279. package/docs/types/PanoSpatialTagPluginId.html +19 -12
  280. package/docs/types/PanoTagPluginExportInterface.html +19 -12
  281. package/docs/types/PanoTagPluginParamsInterface.html +19 -12
  282. package/docs/types/PanoVideoPluginParameterType.html +19 -12
  283. package/docs/types/PanoVideoPluginReturnType.html +19 -12
  284. package/docs/types/{Point3DElement.html → PartialObjectDeep.html} +23 -16
  285. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +20 -13
  286. package/docs/types/PlaneTag.html +20 -13
  287. package/docs/types/Point2DTag.html +20 -13
  288. package/docs/types/Point3DTag.html +20 -13
  289. package/docs/types/PointTag.html +20 -13
  290. package/docs/types/{PointTagElement.html → PointTagInstance.html} +22 -15
  291. package/docs/types/Position.html +19 -12
  292. package/docs/types/{ModelElement.html → RequiredTag.html} +25 -16
  293. package/docs/types/RotateArgs.html +19 -12
  294. package/docs/types/RotateOpts.html +19 -12
  295. package/docs/types/RuleLabelsKey.html +19 -12
  296. package/docs/types/RuleLabelsValue.html +19 -12
  297. package/docs/types/StickType.html +19 -12
  298. package/docs/types/Tag.html +20 -13
  299. package/docs/types/Tag2D.html +19 -12
  300. package/docs/types/Tag3D.html +19 -12
  301. package/docs/types/TagContentType.html +19 -12
  302. package/docs/types/TagDimensionType.html +22 -13
  303. package/docs/types/TagElement.html +23 -13
  304. package/docs/types/TagEvents.html +19 -12
  305. package/docs/types/TagGLTFObject.html +19 -12
  306. package/docs/types/TagHooks.html +19 -12
  307. package/docs/types/TagIconSize.html +19 -12
  308. package/docs/types/TagId.html +19 -12
  309. package/docs/types/TagInstance.html +366 -0
  310. package/docs/types/{PlaneTagElement.html → TagPointType.html} +25 -20
  311. package/docs/types/TopviewFloorplanPluginParameterType.html +19 -12
  312. package/docs/types/TopviewFloorplanPluginReturnType.html +19 -12
  313. package/docs/types/WorkCode.html +19 -12
  314. package/docs/variables/FLOOR_TYPE_MAP.html +19 -12
  315. package/docs/variables/PLUGIN.html +19 -12
  316. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +19 -12
  317. package/docs/variables/ROOM_TYPE_MAP.html +19 -12
  318. package/docs/variables/itemLabelPluginServerParams.html +19 -12
  319. package/docs/variables/modelItemLabelPluginServerParams.html +19 -12
  320. package/docs/variables/modelRoomLabelPluginServerParams.html +19 -12
  321. package/libs/CruisePlugin/Controller.js +74 -74
  322. package/libs/GuideLinePlugin/Controller.js +7 -7
  323. package/libs/PanoTagPlugin/Archive/deprecated.d.ts +48 -1
  324. package/libs/PanoTagPlugin/Archive/deprecated.js +4 -2
  325. package/libs/PanoTagPlugin/Components/Tag/index.js +21 -21
  326. package/libs/PanoTagPlugin/Components/TagItem.js +46 -46
  327. package/libs/PanoTagPlugin/controller/TagComputer.d.ts +12 -12
  328. package/libs/PanoTagPlugin/controller/TagComputer.js +27 -27
  329. package/libs/PanoTagPlugin/controller/TagRender.d.ts +5 -5
  330. package/libs/PanoTagPlugin/controller/TagRender.js +33 -31
  331. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +20 -20
  332. package/libs/PanoTagPlugin/controller/TagUtil.js +17 -20
  333. package/libs/PanoTagPlugin/controller/index.d.ts +7 -7
  334. package/libs/PanoTagPlugin/controller/index.js +36 -34
  335. package/libs/PanoTagPlugin/index.js +11 -11
  336. package/libs/PanoTagPlugin/typings/controller.d.ts +8 -58
  337. package/libs/PanoTagPlugin/typings/index.d.ts +7 -5
  338. package/libs/PanoTagPlugin/typings/index.js +4 -4
  339. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.js +1 -0
  340. package/libs/PanoTagPlugin/typings/tag/TagData.d.js +1 -0
  341. package/libs/PanoTagPlugin/typings/tag/TagInstance.d.js +1 -0
  342. package/libs/PanoTagPlugin/typings/tag/Utils.d.js +1 -0
  343. package/libs/PanoTagPlugin/utils/model/mediaPlane.d.ts +4 -4
  344. package/libs/PanoTagPlugin/utils/planeNormal.js +5 -5
  345. package/libs/PanoTagPlugin/utils/resizeObserver.d.ts +1 -1
  346. package/libs/PanoTagPlugin/utils/tag/tagCheck.d.ts +11 -11
  347. package/libs/PanoTagPlugin/utils/tagPosition.d.ts +2 -2
  348. package/libs/base/BasePlugin.js +3 -3
  349. package/libs/index.js +7 -7
  350. package/libs/shared-utils/logger.js +1 -1
  351. package/package.json +2 -2
  352. package/dist/PanoTagPlugin/typings/tag/Tag.d.ts +0 -50
  353. package/dist/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -133
  354. package/dist/PanoTagPlugin/typings/tag/TagData.d.ts +0 -184
  355. package/dist/PanoTagPlugin/typings/tag/Utils.d.ts +0 -83
  356. package/libs/PanoTagPlugin/typings/tag/Tag.d.ts +0 -50
  357. package/libs/PanoTagPlugin/typings/tag/Tag.js +0 -4
  358. package/libs/PanoTagPlugin/typings/tag/TagConfig.d.ts +0 -133
  359. package/libs/PanoTagPlugin/typings/tag/TagData.d.ts +0 -184
  360. package/libs/PanoTagPlugin/typings/tag/TagData.js +0 -4
  361. package/libs/PanoTagPlugin/typings/tag/Utils.d.ts +0 -83
  362. package/libs/PanoTagPlugin/typings/tag/Utils.js +0 -4
  363. /package/libs/PanoTagPlugin/typings/tag/{TagConfig.js → Tag.d.js} +0 -0
@@ -1,4 +1,6 @@
1
- var g = /* @__PURE__ */ ((a) => (a.PointTag = "PointTag", a.PlaneTag = "PlaneTag", a))(g || {});
1
+ var i = /* @__PURE__ */ ((a) => (a.PointTag = "PointTag", a.PlaneTag = "PlaneTag", a))(i || {}), r = /* @__PURE__ */ ((a) => (a.Audio = "Audio", a.Text = "Text", a.ImageText = "ImageText", a.Image = "Image", a.Video = "Video", a.Link = "Link", a.Sticker = "Sticker", a.VRLink = "VRLink", a.PanoLink = "PanoLink", a.Marketing = "Marketing", a.MediaPlane = "MediaPlane", a.MediaModel = "MediaModel", a.Model = "Model", a.Custom = "Custom", a.Unknown = "Unknown", a))(r || {}), d = /* @__PURE__ */ ((a) => (a.Two = "2D", a.Three = "3D", a))(d || {});
2
2
  export {
3
- g as PointType
3
+ r as ContentType,
4
+ d as DimensionType,
5
+ i as PointType
4
6
  };
@@ -115,9 +115,9 @@ function cA(o) {
115
115
  }
116
116
  function pA(o) {
117
117
  let A, t, e, i, n, s, u, r, g, l;
118
- const C = [
119
- wA,
118
+ const w = [
120
119
  CA,
120
+ wA,
121
121
  vA,
122
122
  QA,
123
123
  BA,
@@ -150,7 +150,7 @@ function pA(o) {
150
150
  )
151
151
  );
152
152
  }
153
- return ~(i = D(o)) && (n = d[i] = C[i](o)), {
153
+ return ~(i = D(o)) && (n = d[i] = w[i](o)), {
154
154
  c() {
155
155
  var a;
156
156
  A = y("div"), t = y("div"), e = y("div"), n && n.c(), B(e, "class", "content svelte-1r4fqvg"), c(
@@ -182,7 +182,7 @@ function pA(o) {
182
182
  A,
183
183
  "unClickable",
184
184
  /*tag*/
185
- o[1].mergedConfig.clickable === !1
185
+ o[1].config.clickable === !1
186
186
  ), I(
187
187
  A,
188
188
  "width",
@@ -205,10 +205,10 @@ function pA(o) {
205
205
  },
206
206
  p(a, m) {
207
207
  var T;
208
- let w = i;
209
- i = D(a), i === w ? ~i && d[i].p(a, m) : (n && (N(), Q(d[w], 1, 1, () => {
210
- d[w] = null;
211
- }), K()), ~i ? (n = d[i], n ? n.p(a, m) : (n = d[i] = C[i](a), n.c()), v(n, 1), n.m(e, null)) : n = null), (!r || m & /*tag*/
208
+ let C = i;
209
+ i = D(a), i === C ? ~i && d[i].p(a, m) : (n && (N(), Q(d[C], 1, 1, () => {
210
+ d[C] = null;
211
+ }), K()), ~i ? (n = d[i], n ? n.p(a, m) : (n = d[i] = w[i](a), n.c()), v(n, 1), n.m(e, null)) : n = null), (!r || m & /*tag*/
212
212
  2) && c(
213
213
  e,
214
214
  "unfolded",
@@ -244,7 +244,7 @@ function pA(o) {
244
244
  A,
245
245
  "unClickable",
246
246
  /*tag*/
247
- a[1].mergedConfig.clickable === !1
247
+ a[1].config.clickable === !1
248
248
  ), m & /*tag*/
249
249
  2 && I(
250
250
  A,
@@ -476,7 +476,7 @@ function vA(o) {
476
476
  }
477
477
  };
478
478
  }
479
- function CA(o) {
479
+ function wA(o) {
480
480
  let A, t;
481
481
  return A = new nA({
482
482
  props: { tag: p(
@@ -509,7 +509,7 @@ function CA(o) {
509
509
  }
510
510
  };
511
511
  }
512
- function wA(o) {
512
+ function CA(o) {
513
513
  let A, t;
514
514
  return A = new oA({
515
515
  props: { tag: p(
@@ -579,19 +579,19 @@ function _A(o) {
579
579
  };
580
580
  }
581
581
  function kA(o, A, t) {
582
- let e, i, n, s, u, r, { withAnimation: g = !1 } = A, { tag: l } = A, { hooks: C } = A, { state: d } = A, { mediaStore: D } = A, { temporaryState: a } = A;
583
- L("hooks", C), L("mediaStore", D);
584
- let m, w;
582
+ let e, i, n, s, u, r, { withAnimation: g = !1 } = A, { tag: l } = A, { hooks: w } = A, { state: d } = A, { mediaStore: D } = A, { temporaryState: a } = A;
583
+ L("hooks", w), L("mediaStore", D);
584
+ let m, C;
585
585
  function T(f) {
586
- f ? C.emit("exposure", { id: s, type: "start" }) : C.emit("exposure", { id: s, type: "end" });
586
+ f ? w.emit("exposure", { id: s, type: "start" }) : w.emit("exposure", { id: s, type: "end" });
587
587
  }
588
588
  function R(f, E, G) {
589
589
  var h, M;
590
590
  return !(!E.visible || !E.enabled || !G.visible || !((h = f.state) != null && h.visible) || ((M = f.temporaryState) == null ? void 0 : M.visible) === !1 || aA(f) && !f.mediaVisible);
591
591
  }
592
- const X = (f) => C.emit("click", { event: f, target: "TagContent", tag: l }), j = (f) => C.emit("click", { event: f, target: "TagContent", tag: l });
592
+ const X = (f) => w.emit("click", { event: f, target: "TagContent", tag: l }), j = (f) => w.emit("click", { event: f, target: "TagContent", tag: l });
593
593
  return o.$$set = (f) => {
594
- "withAnimation" in f && t(0, g = f.withAnimation), "tag" in f && t(1, l = f.tag), "hooks" in f && t(2, C = f.hooks), "state" in f && t(5, d = f.state), "mediaStore" in f && t(6, D = f.mediaStore), "temporaryState" in f && t(7, a = f.temporaryState);
594
+ "withAnimation" in f && t(0, g = f.withAnimation), "tag" in f && t(1, l = f.tag), "hooks" in f && t(2, w = f.hooks), "state" in f && t(5, d = f.state), "mediaStore" in f && t(6, D = f.mediaStore), "temporaryState" in f && t(7, a = f.temporaryState);
595
595
  }, o.$$.update = () => {
596
596
  var f, E, G, h, M, U, W, S, F, O, q;
597
597
  o.$$.dirty & /*tag*/
@@ -601,19 +601,19 @@ function kA(o, A, t) {
601
601
  2 && (s = l.id), o.$$.dirty & /*tag, state, temporaryState*/
602
602
  162 && t(4, u = !R(l, d, a)), o.$$.dirty & /*isVisible*/
603
603
  4096 && T(n), o.$$.dirty & /*tag, unfolded, lastUnfoldedState, visible, lastVisibleState*/
604
- 3842 && l.hooks && (e !== void 0 && e !== w && (t(9, w = e), e ? (M = (h = l.hooks).emit) == null || M.call(h, "unfolded") : (W = l == null ? void 0 : (U = l.hooks).emit) == null || W.call(U, "folded")), i !== void 0 && i !== m && (t(8, m = i), i ? (F = (S = l.hooks).emit) == null || F.call(S, "show") : (q = (O = l.hooks).emit) == null || q.call(O, "hide"))), o.$$.dirty & /*tag*/
605
- 2 && t(3, r = (() => !(typeof l.mergedConfig.unfoldedConfig == "object" && l.mergedConfig.unfoldedConfig.keep === "folded"))());
604
+ 3842 && l.hooks && (e !== void 0 && e !== C && (t(9, C = e), e ? (M = (h = l.hooks).emit) == null || M.call(h, "unfolded") : (W = l == null ? void 0 : (U = l.hooks).emit) == null || W.call(U, "folded")), i !== void 0 && i !== m && (t(8, m = i), i ? (F = (S = l.hooks).emit) == null || F.call(S, "show") : (q = (O = l.hooks).emit) == null || q.call(O, "hide"))), o.$$.dirty & /*tag*/
605
+ 2 && t(3, r = (() => !(typeof l.config.unfoldedConfig == "object" && l.config.unfoldedConfig.keep === "folded"))());
606
606
  }, [
607
607
  g,
608
608
  l,
609
- C,
609
+ w,
610
610
  r,
611
611
  u,
612
612
  d,
613
613
  D,
614
614
  a,
615
615
  m,
616
- w,
616
+ C,
617
617
  i,
618
618
  e,
619
619
  n,
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as Q, init as U, safe_not_equal as W, append_styles as X, element as C, space as Y, attr as d, null_to_empty as B, set_style as h, toggle_class as _, insert as P, append as E, transition_out as y, check_outros as F, transition_in as v, detach as N, getContext as Z, group_outros as G, noop as S, create_component as K, mount_component as M, destroy_component as O } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as Q, init as U, safe_not_equal as W, append_styles as X, element as A, space as Y, attr as u, null_to_empty as B, set_style as h, toggle_class as _, insert as C, append as E, transition_out as v, check_outros as F, transition_in as y, detach as N, getContext as Z, group_outros as G, noop as S, create_component as K, mount_component as M, destroy_component as O } from "../../vendor/svelte/internal/index.js";
2
2
  import x from "./Tag/index.js";
3
3
  import "three";
4
4
  import { noTypecheck as H } from "../utils/noTypecheck.js";
@@ -97,10 +97,10 @@ function et(i) {
97
97
  let e;
98
98
  return {
99
99
  c() {
100
- e = C("div"), d(e, "data-info", "tag content is disable");
100
+ e = A("div"), u(e, "data-info", "tag content is disable");
101
101
  },
102
102
  m(t, o) {
103
- P(t, e, o);
103
+ C(t, e, o);
104
104
  },
105
105
  p: S,
106
106
  i: S,
@@ -163,10 +163,10 @@ function it(i) {
163
163
  o[4]), e.$set(m);
164
164
  },
165
165
  i(o) {
166
- t || (v(e.$$.fragment, o), t = !0);
166
+ t || (y(e.$$.fragment, o), t = !0);
167
167
  },
168
168
  o(o) {
169
- y(e.$$.fragment, o), t = !1;
169
+ v(e.$$.fragment, o), t = !1;
170
170
  },
171
171
  d(o) {
172
172
  O(e, o);
@@ -177,10 +177,10 @@ function ot(i) {
177
177
  let e;
178
178
  return {
179
179
  c() {
180
- e = C("div"), d(e, "data-info", "tag point is disable");
180
+ e = A("div"), u(e, "data-info", "tag point is disable");
181
181
  },
182
182
  m(t, o) {
183
- P(t, e, o);
183
+ C(t, e, o);
184
184
  },
185
185
  p: S,
186
186
  i: S,
@@ -209,10 +209,10 @@ function rt(i) {
209
209
  o[1]), e.$set(m);
210
210
  },
211
211
  i(o) {
212
- t || (v(e.$$.fragment, o), t = !0);
212
+ t || (y(e.$$.fragment, o), t = !0);
213
213
  },
214
214
  o(o) {
215
- y(e.$$.fragment, o), t = !1;
215
+ v(e.$$.fragment, o), t = !1;
216
216
  },
217
217
  d(o) {
218
218
  O(e, o);
@@ -221,39 +221,39 @@ function rt(i) {
221
221
  }
222
222
  function nt(i) {
223
223
  let e, t, o, a, m, s, f, g, w, l;
224
- const T = [it, et], u = [];
224
+ const z = [it, et], c = [];
225
225
  function p(n, r) {
226
226
  return (
227
227
  /*haveContent*/
228
228
  n[12] ? 0 : 1
229
229
  );
230
230
  }
231
- o = p(i), a = u[o] = T[o](i);
232
- const z = [rt, ot], c = [];
233
- function A(n, r) {
231
+ o = p(i), a = c[o] = z[o](i);
232
+ const P = [rt, ot], d = [];
233
+ function T(n, r) {
234
234
  return (
235
235
  /*havePoint*/
236
236
  n[13] ? 0 : 1
237
237
  );
238
238
  }
239
- return s = A(i), f = c[s] = z[s](i), {
239
+ return s = T(i), f = d[s] = P[s](i), {
240
240
  c() {
241
- e = C("div"), t = C("div"), a.c(), m = Y(), f.c(), d(t, "class", g = B(J(
241
+ e = A("div"), t = A("div"), a.c(), m = Y(), f.c(), u(t, "class", g = B(J(
242
242
  "wrapper",
243
243
  /*tag*/
244
244
  i[1].className ? `${/*tag*/
245
245
  i[1].className}__wrapper` : void 0
246
- )) + " svelte-pzwdws"), d(
246
+ )) + " svelte-pzwdws"), u(
247
247
  t,
248
248
  "data-tag-unfolded",
249
249
  /*unfolded*/
250
250
  i[8]
251
- ), d(
251
+ ), u(
252
252
  t,
253
253
  "data-tag-id",
254
254
  /*id*/
255
255
  i[11]
256
- ), d(t, "data-content-type", w = /*tag*/
256
+ ), u(t, "data-content-type", w = /*tag*/
257
257
  i[1].contentType), h(
258
258
  t,
259
259
  "left",
@@ -269,7 +269,7 @@ function nt(i) {
269
269
  "z-index",
270
270
  /*zIndex*/
271
271
  i[5]
272
- ), d(e, "class", "tag svelte-pzwdws"), d(
272
+ ), u(e, "class", "tag svelte-pzwdws"), u(
273
273
  e,
274
274
  "data-tag-id",
275
275
  /*id*/
@@ -278,7 +278,7 @@ function nt(i) {
278
278
  e,
279
279
  "unClickable",
280
280
  /*tag*/
281
- i[1].mergedConfig.clickable === !1
281
+ i[1].config.clickable === !1
282
282
  ), _(
283
283
  e,
284
284
  "disable",
@@ -297,37 +297,37 @@ function nt(i) {
297
297
  );
298
298
  },
299
299
  m(n, r) {
300
- P(n, e, r), E(e, t), u[o].m(t, null), E(t, m), c[s].m(t, null), l = !0;
300
+ C(n, e, r), E(e, t), c[o].m(t, null), E(t, m), d[s].m(t, null), l = !0;
301
301
  },
302
302
  p(n, [r]) {
303
303
  let b = o;
304
- o = p(n), o === b ? u[o].p(n, r) : (G(), y(u[b], 1, 1, () => {
305
- u[b] = null;
306
- }), F(), a = u[o], a ? a.p(n, r) : (a = u[o] = T[o](n), a.c()), v(a, 1), a.m(t, m));
304
+ o = p(n), o === b ? c[o].p(n, r) : (G(), v(c[b], 1, 1, () => {
305
+ c[b] = null;
306
+ }), F(), a = c[o], a ? a.p(n, r) : (a = c[o] = z[o](n), a.c()), y(a, 1), a.m(t, m));
307
307
  let k = s;
308
- s = A(n), s === k ? c[s].p(n, r) : (G(), y(c[k], 1, 1, () => {
309
- c[k] = null;
310
- }), F(), f = c[s], f ? f.p(n, r) : (f = c[s] = z[s](n), f.c()), v(f, 1), f.m(t, null)), (!l || r & /*tag*/
308
+ s = T(n), s === k ? d[s].p(n, r) : (G(), v(d[k], 1, 1, () => {
309
+ d[k] = null;
310
+ }), F(), f = d[s], f ? f.p(n, r) : (f = d[s] = P[s](n), f.c()), y(f, 1), f.m(t, null)), (!l || r & /*tag*/
311
311
  2 && g !== (g = B(J(
312
312
  "wrapper",
313
313
  /*tag*/
314
314
  n[1].className ? `${/*tag*/
315
315
  n[1].className}__wrapper` : void 0
316
- )) + " svelte-pzwdws")) && d(t, "class", g), (!l || r & /*unfolded*/
317
- 256) && d(
316
+ )) + " svelte-pzwdws")) && u(t, "class", g), (!l || r & /*unfolded*/
317
+ 256) && u(
318
318
  t,
319
319
  "data-tag-unfolded",
320
320
  /*unfolded*/
321
321
  n[8]
322
322
  ), (!l || r & /*id*/
323
- 2048) && d(
323
+ 2048) && u(
324
324
  t,
325
325
  "data-tag-id",
326
326
  /*id*/
327
327
  n[11]
328
328
  ), (!l || r & /*tag*/
329
329
  2 && w !== (w = /*tag*/
330
- n[1].contentType)) && d(t, "data-content-type", w), r & /*left*/
330
+ n[1].contentType)) && u(t, "data-content-type", w), r & /*left*/
331
331
  128 && h(
332
332
  t,
333
333
  "left",
@@ -346,7 +346,7 @@ function nt(i) {
346
346
  /*zIndex*/
347
347
  n[5]
348
348
  ), (!l || r & /*id*/
349
- 2048) && d(
349
+ 2048) && u(
350
350
  e,
351
351
  "data-tag-id",
352
352
  /*id*/
@@ -356,7 +356,7 @@ function nt(i) {
356
356
  e,
357
357
  "unClickable",
358
358
  /*tag*/
359
- n[1].mergedConfig.clickable === !1
359
+ n[1].config.clickable === !1
360
360
  ), (!l || r & /*disable*/
361
361
  1024) && _(
362
362
  e,
@@ -378,21 +378,21 @@ function nt(i) {
378
378
  );
379
379
  },
380
380
  i(n) {
381
- l || (v(a), v(f), l = !0);
381
+ l || (y(a), y(f), l = !0);
382
382
  },
383
383
  o(n) {
384
- y(a), y(f), l = !1;
384
+ v(a), v(f), l = !1;
385
385
  },
386
386
  d(n) {
387
- n && N(e), u[o].d(), c[s].d();
387
+ n && N(e), c[o].d(), d[s].d();
388
388
  }
389
389
  };
390
390
  }
391
391
  function at(i, e, t) {
392
- let o, a, m, s, f, g, w, l, T, { withAnimation: u = !1 } = e, { tag: p } = e, { mediaStore: z } = e, { state: c } = e, { temporaryState: A } = e;
392
+ let o, a, m, s, f, g, w, l, z, { withAnimation: c = !1 } = e, { tag: p } = e, { mediaStore: P } = e, { state: d } = e, { temporaryState: T } = e;
393
393
  const n = Z("hooks");
394
394
  return i.$$set = (r) => {
395
- "withAnimation" in r && t(0, u = r.withAnimation), "tag" in r && t(1, p = r.tag), "mediaStore" in r && t(2, z = r.mediaStore), "state" in r && t(3, c = r.state), "temporaryState" in r && t(4, A = r.temporaryState);
395
+ "withAnimation" in r && t(0, c = r.withAnimation), "tag" in r && t(1, p = r.tag), "mediaStore" in r && t(2, P = r.mediaStore), "state" in r && t(3, d = r.state), "temporaryState" in r && t(4, T = r.temporaryState);
396
396
  }, i.$$.update = () => {
397
397
  var r, b, k, L, I, q, D, R;
398
398
  i.$$.dirty & /*tag*/
@@ -402,19 +402,19 @@ function at(i, e, t) {
402
402
  })()), i.$$.dirty & /*tag*/
403
403
  2 && t(12, a = (() => p.stickType === "2DPoint")()), i.$$.dirty & /*tag*/
404
404
  2 && t(11, m = p.id), i.$$.dirty & /*tag*/
405
- 2 && t(10, s = !((r = p.pointTagStyle) != null && r.leftPercent) || !((b = p.pointTagStyle) != null && b.topPercent) || p.enabled === !1 || !p.state), i.$$.dirty & /*tag*/
405
+ 2 && t(10, s = !((r = p.screenPosition) != null && r.leftPercent) || !((b = p.screenPosition) != null && b.topPercent) || p.enabled === !1 || !p.state), i.$$.dirty & /*tag*/
406
406
  2 && t(9, f = !((k = p.state) != null && k.visible) || ((L = p.temporaryState) == null ? void 0 : L.visible) === !1), i.$$.dirty & /*tag*/
407
407
  2 && t(8, g = (I = p.state) == null ? void 0 : I.unfolded), i.$$.dirty & /*tag*/
408
- 2 && t(7, w = ((q = p.pointTagStyle) == null ? void 0 : q.leftPercent) + "%"), i.$$.dirty & /*tag*/
409
- 2 && t(6, l = ((D = p.pointTagStyle) == null ? void 0 : D.topPercent) + "%"), i.$$.dirty & /*tag*/
410
- 2 && t(5, T = (R = p.state) != null && R.unfolded ? 1 : 0);
408
+ 2 && t(7, w = ((q = p.screenPosition) == null ? void 0 : q.leftPercent) + "%"), i.$$.dirty & /*tag*/
409
+ 2 && t(6, l = ((D = p.screenPosition) == null ? void 0 : D.topPercent) + "%"), i.$$.dirty & /*tag*/
410
+ 2 && t(5, z = (R = p.state) != null && R.unfolded ? 1 : 0);
411
411
  }, [
412
- u,
413
- p,
414
- z,
415
412
  c,
416
- A,
413
+ p,
414
+ P,
415
+ d,
417
416
  T,
417
+ z,
418
418
  l,
419
419
  w,
420
420
  g,
@@ -1,6 +1,6 @@
1
1
  import type { Five, Mode } from '@realsee/five';
2
2
  import * as THREE from 'three';
3
- import type { Tag, TagElement } from '../typings';
3
+ import type { TagInstance } from '../typings';
4
4
  import type { Raycaster } from 'three';
5
5
  import { TagUtil } from './TagUtil';
6
6
  export declare abstract class TagComputer extends TagUtil {
@@ -9,25 +9,25 @@ export declare abstract class TagComputer extends TagUtil {
9
9
  /**
10
10
  * @description: 获取是否可见
11
11
  */
12
- getVisibleByPanoIndex(tag: Tag<any, any>, panoIndex?: number): boolean;
13
- getVisibleByFiveMode(tag: TagElement<any, any>, mode?: Mode): boolean;
12
+ getVisibleByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
13
+ getVisibleByFiveMode(tag: TagInstance, mode?: Mode): boolean;
14
14
  /**
15
15
  * @description 获取标签当前状态
16
16
  * @return (this.state.visible && tag.state.visible) ?? true
17
17
  */
18
- getCurrentVisibleState(tag: TagElement<any, any>): boolean;
19
- getVisible(tag: TagElement<any, any>): boolean;
18
+ getCurrentVisibleState(tag: TagInstance): boolean;
19
+ getVisible(tag: TagInstance): boolean;
20
20
  /** 获取当前点位上模型中的多媒体是否应该展示 */
21
- getModelMedialVisibleByPanoIndex(tag: TagElement<any, any>): boolean;
21
+ getModelMedialVisibleByPanoIndex(tag: TagInstance): boolean;
22
22
  /**
23
23
  * @description: 获取是否展开
24
24
  */
25
- getUnfoldedByPanoIndex(tag: TagElement<any>, panoIndex?: number): boolean;
25
+ getUnfoldedByPanoIndex(tag: TagInstance, panoIndex?: number): boolean;
26
26
  /**
27
27
  * @description: 获取是否展开
28
28
  */
29
- getUnfoldedByCamera(tag: TagElement<any, any>): boolean;
30
- protected sort<T extends Tag<any, any>>(tags: T[]): T[];
29
+ getUnfoldedByCamera(tag: TagInstance): boolean;
30
+ protected sort<T extends TagInstance>(tags: T[]): T[];
31
31
  /**
32
32
  * @description: 一个点的标签
33
33
  */
@@ -39,18 +39,18 @@ export declare abstract class TagComputer extends TagUtil {
39
39
  /**
40
40
  * @description: 一个点的标签
41
41
  */
42
- protected getTagProject(tag: TagElement<any, any>): {
42
+ protected getTagProject(tag: TagInstance): {
43
43
  x: number;
44
44
  y: number;
45
45
  z: number;
46
46
  };
47
47
  /** 通过射线检测标签可用性 */
48
- protected getTagEnableByIntersect(tag: Tag<any, any>, raycaster: Raycaster): {
48
+ protected getTagEnableByIntersect(tag: TagInstance, raycaster: Raycaster): {
49
49
  value: boolean;
50
50
  reason: string;
51
51
  };
52
52
  /** 获取点位看向标签的射线 */
53
- protected getRaycasterFromPanoIndex(tag: Tag, panoIndex: number): THREE.Raycaster;
53
+ protected getRaycasterFromPanoIndex(tag: TagInstance, panoIndex: number): THREE.Raycaster;
54
54
  /** 检测是否匹配当前楼层 */
55
55
  private getVisibleByFloorIndex;
56
56
  }
@@ -2,26 +2,26 @@ var M = Object.defineProperty, U = Object.defineProperties;
2
2
  var R = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
4
  var B = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var g = (c, l, e) => l in c ? M(c, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : c[l] = e, x = (c, l) => {
5
+ var g = (d, l, e) => l in d ? M(d, l, { enumerable: !0, configurable: !0, writable: !0, value: e }) : d[l] = e, x = (d, l) => {
6
6
  for (var e in l || (l = {}))
7
- B.call(l, e) && g(c, e, l[e]);
7
+ B.call(l, e) && g(d, e, l[e]);
8
8
  if (P)
9
9
  for (var e of P(l))
10
- C.call(l, e) && g(c, e, l[e]);
11
- return c;
12
- }, I = (c, l) => U(c, R(l));
13
- var T = (c, l, e) => (g(c, typeof l != "symbol" ? l + "" : l, e), e);
10
+ C.call(l, e) && g(d, e, l[e]);
11
+ return d;
12
+ }, I = (d, l) => U(d, R(l));
13
+ var V = (d, l, e) => (g(d, typeof l != "symbol" ? l + "" : l, e), e);
14
14
  import * as D from "three";
15
15
  import { is3DTag as j, isMediaModelTag as y } from "../utils/tag/tagCheck.js";
16
- import { tagPosition as V, getTagPosition as k } from "../utils/tagPosition.js";
16
+ import { tagPosition as T, getTagPosition as k } from "../utils/tagPosition.js";
17
17
  import { checkRange as h } from "../utils/checkRange.js";
18
18
  import "hammerjs";
19
19
  import "@realsee/five";
20
20
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
21
21
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
- import { notNil as S } from "../../shared-utils/isNil.js";
24
- import { TagUtil as $ } from "./TagUtil.js";
23
+ import { notNil as $ } from "../../shared-utils/isNil.js";
24
+ import { TagUtil as S } from "./TagUtil.js";
25
25
  import { getFloorIndex as E } from "../../shared-utils/five/getFloorIndex.js";
26
26
  import "../../CSS3DRenderPlugin/utils/positionToVector3.js";
27
27
  import "../../shared-utils/three/centerPoint.js";
@@ -55,10 +55,10 @@ import "../../shared-utils/three/getPositionsByObjectFit.js";
55
55
  import "../../shared-utils/three/FragmentTransparencyMaterial.js";
56
56
  import "../../shared-utils/five/FiveDomEvents.js";
57
57
  import "../../shared-utils/threex/domevents/index.js";
58
- class Ue extends $ {
58
+ class Ue extends S {
59
59
  constructor(e) {
60
60
  super(e);
61
- T(this, "raycaster", new D.Raycaster());
61
+ V(this, "raycaster", new D.Raycaster());
62
62
  }
63
63
  /**
64
64
  * @description: 获取是否可见
@@ -71,8 +71,8 @@ class Ue extends $ {
71
71
  return s.visible;
72
72
  {
73
73
  const i = (() => {
74
- var d, u, v;
75
- const o = (d = this.getTagConfig(e).visibleConfig) != null ? d : {}, f = this.getDistance(e);
74
+ var c, u, v;
75
+ const o = (c = this.getTagConfig(e).visibleConfig) != null ? c : {}, f = this.getDistance(e);
76
76
  if (typeof o == "function")
77
77
  return { value: o(this.five, { tag: e, distance: f }), reason: "config function result" };
78
78
  if (o.keep === "hidden")
@@ -172,14 +172,14 @@ class Ue extends $ {
172
172
  if (!i)
173
173
  return;
174
174
  const o = (() => {
175
- const d = this.getDistance(e);
175
+ const c = this.getDistance(e);
176
176
  if (typeof i == "function")
177
- return i(this.five, { tag: e, distance: d });
177
+ return i(this.five, { tag: e, distance: c });
178
178
  if (i.keep === "folded")
179
179
  return !1;
180
180
  if (i.keep === "unfolded")
181
181
  return !0;
182
- if (i.unfoldDistance && h(d, i.unfoldDistance) === !1)
182
+ if (i.unfoldDistance && h(c, i.unfoldDistance) === !1)
183
183
  return !1;
184
184
  })();
185
185
  n.unfolded = o;
@@ -243,15 +243,15 @@ class Ue extends $ {
243
243
  e.length !== 0 && e.forEach((t) => {
244
244
  var n;
245
245
  if (!((n = t.state) != null && n.visible)) {
246
- t.pointTagStyle = null;
246
+ t.screenPosition = null;
247
247
  return;
248
248
  }
249
249
  const s = this.getTagProject(t);
250
250
  if (!s) {
251
- t.pointTagStyle = null;
251
+ t.screenPosition = null;
252
252
  return;
253
253
  }
254
- t.pointTagStyle = { leftPercent: (s.x + 1) / 2 * 100, topPercent: (-s.y + 1) / 2 * 100 };
254
+ t.screenPosition = { leftPercent: (s.x + 1) / 2 * 100, topPercent: (-s.y + 1) / 2 * 100 };
255
255
  });
256
256
  }
257
257
  setVisible() {
@@ -295,7 +295,7 @@ class Ue extends $ {
295
295
  getTagProject(e) {
296
296
  if (!this.getVisible(e))
297
297
  return;
298
- const s = V(e.position);
298
+ const s = T(e.position);
299
299
  if (!s)
300
300
  return;
301
301
  const { x: n, y: i, z: o } = s.project(this.five.camera);
@@ -311,16 +311,16 @@ class Ue extends $ {
311
311
  const a = this.tags.filter(y).map((b) => {
312
312
  var m;
313
313
  return (m = b.model) == null ? void 0 : m.object;
314
- }).filter(S);
314
+ }).filter($);
315
315
  return t.intersectObjects(a, !0)[0];
316
316
  })(), f = (() => {
317
317
  var a;
318
318
  return typeof s == "object" && typeof s.intersectRaycaster == "object" && (a = s.intersectRaycaster.distanceAccuracy) != null ? a : 0.01;
319
- })(), d = Math.min((v = i == null ? void 0 : i.distance) != null ? v : 1 / 0, (r = o == null ? void 0 : o.distance) != null ? r : 1 / 0);
320
- return d + f < n ? {
319
+ })(), c = Math.min((v = i == null ? void 0 : i.distance) != null ? v : 1 / 0, (r = o == null ? void 0 : o.distance) != null ? r : 1 / 0);
320
+ return c + f < n ? {
321
321
  value: !1,
322
322
  reason: `intersectRaycaster check failed: distance is ${n}, intersection.distance is ${i == null ? void 0 : i.distance}, intersection.point is ${i == null ? void 0 : i.point.toArray()},
323
- customModelIntersection.point is ${o == null ? void 0 : o.point.toArray()}, minIntersectionDistance is ${d}`
323
+ customModelIntersection.point is ${o == null ? void 0 : o.point.toArray()}, minIntersectionDistance is ${c}`
324
324
  } : { value: !0, reason: "" };
325
325
  }
326
326
  /** 获取点位看向标签的射线 */
@@ -329,7 +329,7 @@ class Ue extends $ {
329
329
  const s = (o = this.five.work.observers[t]) == null ? void 0 : o.position;
330
330
  if (s === void 0)
331
331
  throw new Error(`getVisible(): observerPosition is ${s}`);
332
- const n = V(e.position);
332
+ const n = T(e.position);
333
333
  if (!n)
334
334
  return;
335
335
  const i = n.sub(s).normalize();
@@ -337,10 +337,10 @@ class Ue extends $ {
337
337
  }
338
338
  /** 检测是否匹配当前楼层 */
339
339
  getVisibleByFloorIndex(e) {
340
- var i, o, f, d, u, v, r;
340
+ var i, o, f, c, u, v, r;
341
341
  let t = 0;
342
342
  const s = (i = e.fiveState) == null ? void 0 : i.panoIndex;
343
- s !== void 0 ? t = (o = this.five.work.observers[s]) == null ? void 0 : o.floorIndex : t = E(this.five.work.observers, (r = (v = (d = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : d.position) != null ? v : (u = e.mediaPlane) == null ? void 0 : u.position) != null ? r : k(e));
343
+ s !== void 0 ? t = (o = this.five.work.observers[s]) == null ? void 0 : o.floorIndex : t = E(this.five.work.observers, (r = (v = (c = (f = e.model) == null ? void 0 : f.object) == null ? void 0 : c.position) != null ? v : (u = e.mediaPlane) == null ? void 0 : u.position) != null ? r : k(e));
344
344
  const n = this.five.model.shownFloor;
345
345
  return n === null || n === t;
346
346
  }
@@ -1,9 +1,9 @@
1
1
  import { TagComputer } from './TagComputer';
2
- import type { Tag, TagElement, TagGLTFObject, TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup } from '../typings';
2
+ import type { Tag, TagInstance, TagGLTFObject, TagObjectGroup, TagGLTFObjectGroup, ImagePlaneGroup, TagContentType } from '../typings';
3
3
  import type { TemporaryState } from '../typings';
4
- import { Object3D } from 'three';
4
+ import { type Object3D } from 'three';
5
5
  import TagContainerSvelte from '../Components/TagContainer.svelte';
6
- import { Five } from '@realsee/five';
6
+ import type { Five } from '@realsee/five';
7
7
  export declare abstract class TagRender extends TagComputer {
8
8
  protected group: TagObjectGroup;
9
9
  protected imagePlaneGroup: ImagePlaneGroup;
@@ -41,7 +41,7 @@ export declare abstract class TagRender extends TagComputer {
41
41
  * @param tag 标签
42
42
  * @param model 模型
43
43
  */
44
- protected updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagElement<any, S>, model: Object3D): void;
44
+ protected updateTagCss3DObjectMatrix<S extends 'Model' | 'Plane' = 'Model'>(tag: TagInstance<TagContentType, S>, model: Object3D): void;
45
45
  /** 添加模型标签 */
46
46
  protected addMediaModelTag(tags: Tag[]): Promise<void>;
47
47
  /**
@@ -55,5 +55,5 @@ export declare abstract class TagRender extends TagComputer {
55
55
  */
56
56
  protected clearUnusedPanelTag(): void;
57
57
  /** 加载外部模型 */
58
- protected loadModel: (tag: TagElement<'Model', 'Model'> | TagElement<'MediaModel', 'Model'>) => Promise<TagGLTFObject>;
58
+ protected loadModel: (tag: TagInstance<'Model', 'Model'> | TagInstance<'MediaModel', 'Model'>) => Promise<TagGLTFObject>;
59
59
  }