@realsee/dnalogel 3.6.0-dev.0 → 3.7.0-dev.0

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 (357) hide show
  1. package/dist/AreaMakerPlugin/Controller.d.ts +2 -0
  2. package/dist/AreaMakerPlugin/typing.d.ts +1 -0
  3. package/dist/AreaMakerPlugin/utils/Item.d.ts +4 -0
  4. package/dist/index.cjs.js +45 -45
  5. package/dist/index.js +2634 -2583
  6. package/dist/index.umd.js +49 -49
  7. package/docs/assets/search.js +1 -1
  8. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +41 -30
  9. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +42 -31
  10. package/docs/classes/CSS3DRender.html +30 -30
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +18 -18
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +40 -40
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/MoveController.html +25 -25
  16. package/docs/classes/Object3DHelperController.html +24 -24
  17. package/docs/classes/PaintBrush.html +14 -14
  18. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  19. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  20. package/docs/classes/PanoMeasurePluginPoint.html +10 -10
  21. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  22. package/docs/classes/PanoTagPluginController.html +49 -49
  23. package/docs/classes/Util.BetterTween.html +8 -8
  24. package/docs/classes/Util.Interval.html +11 -11
  25. package/docs/classes/Util.LineSegments.html +7 -7
  26. package/docs/classes/Util.Magnifier.html +19 -19
  27. package/docs/classes/Util.Object3D.html +7 -7
  28. package/docs/classes/Util.PointDomHelper.html +10 -10
  29. package/docs/classes/Util.PointHelper.html +10 -10
  30. package/docs/classes/Util.PointSelectorHelper.html +15 -15
  31. package/docs/classes/Util.Rectangle.html +12 -12
  32. package/docs/classes/WalkController.html +24 -24
  33. package/docs/enums/CameraMovementEffect.html +6 -6
  34. package/docs/enums/ContentType.html +20 -20
  35. package/docs/enums/DIRECTION.html +8 -8
  36. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  37. package/docs/enums/DimensionType.html +6 -6
  38. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  39. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  40. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  41. package/docs/enums/PointType.html +6 -6
  42. package/docs/enums/Rotation.html +7 -7
  43. package/docs/functions/AreaMakerPlugin.html +4 -4
  44. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  45. package/docs/functions/CameraMovementPlugin.html +3 -3
  46. package/docs/functions/CruisePlugin.html +3 -3
  47. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  48. package/docs/functions/GuideLinePlugin.html +4 -4
  49. package/docs/functions/ItemLabelPlugin.html +3 -3
  50. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  51. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  52. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  53. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  54. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  55. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  56. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  57. package/docs/functions/ModelViewPlugin.html +3 -3
  58. package/docs/functions/Object3DHelperPlugin.html +3 -3
  59. package/docs/functions/PanoCompassPlugin.html +3 -3
  60. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  61. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  62. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  63. package/docs/functions/PanoMeasurePlugin.html +3 -3
  64. package/docs/functions/PanoRulerPlugin.html +3 -3
  65. package/docs/functions/PanoRulerProPlugin.html +3 -3
  66. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  67. package/docs/functions/PanoTagPlugin.html +3 -3
  68. package/docs/functions/PanoVideoPlugin.html +3 -3
  69. package/docs/functions/PipelinePlugin.html +3 -3
  70. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  71. package/docs/functions/Util.absoluteUrl.html +4 -4
  72. package/docs/functions/Util.checkFiveModelLoaded.html +4 -4
  73. package/docs/functions/Util.equal.html +4 -4
  74. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  75. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  76. package/docs/functions/Util.getFrameTime.html +4 -4
  77. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  78. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  79. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  80. package/docs/functions/Util.isModelLike.html +4 -4
  81. package/docs/functions/Util.isNil.html +4 -4
  82. package/docs/functions/Util.isPanoramaLike.html +4 -4
  83. package/docs/functions/Util.nextFrame.html +4 -4
  84. package/docs/functions/Util.notNil.html +4 -4
  85. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  86. package/docs/functions/Util.tweenProgress.html +4 -4
  87. package/docs/functions/Util.uuid.html +4 -4
  88. package/docs/functions/pluginFlag.html +4 -4
  89. package/docs/index.html +4 -4
  90. package/docs/interfaces/AddTagConfig.html +5 -5
  91. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +6 -5
  92. package/docs/interfaces/AreaMakerPluginType.Config.html +6 -5
  93. package/docs/interfaces/AreaMakerPluginType.EventMap.html +15 -14
  94. package/docs/interfaces/AreaMakerPluginType.Params.html +7 -6
  95. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +9 -8
  96. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +8 -7
  97. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +6 -5
  98. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +6 -5
  99. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +6 -5
  100. package/docs/interfaces/AreaMakerPluginType.State.html +8 -7
  101. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  102. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  103. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  104. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  105. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  106. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  107. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  108. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  109. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  110. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  111. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -5
  112. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  113. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +10 -10
  114. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +11 -11
  115. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +6 -6
  116. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -5
  117. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -7
  118. package/docs/interfaces/EventMap.html +14 -14
  119. package/docs/interfaces/FloorplanBounding.html +7 -7
  120. package/docs/interfaces/FloorplanData.html +9 -9
  121. package/docs/interfaces/FloorplanEntrance.html +10 -10
  122. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  123. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  124. package/docs/interfaces/FloorplanFloorData.html +8 -8
  125. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  126. package/docs/interfaces/FloorplanObserver.html +8 -8
  127. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  128. package/docs/interfaces/FloorplanPosition.html +6 -6
  129. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  130. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  131. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  132. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  133. package/docs/interfaces/FloorplanServerData.html +6 -6
  134. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  135. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  136. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  137. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  138. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  139. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  140. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  141. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  142. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  143. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  144. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  145. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  146. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  147. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  148. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  149. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  150. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -5
  151. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  152. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +18 -18
  153. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  154. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +18 -18
  155. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  156. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -5
  157. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  158. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  159. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  160. package/docs/interfaces/HelperOffset.html +7 -7
  161. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  162. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  163. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  164. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  165. package/docs/interfaces/MinMax.html +6 -6
  166. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  167. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  168. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  169. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  170. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  171. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  172. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  173. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  174. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  175. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  176. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  177. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  178. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  179. package/docs/interfaces/Object3DHelperState.html +7 -7
  180. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  181. package/docs/interfaces/PaintBrushAction.html +11 -11
  182. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  183. package/docs/interfaces/PaintBrushState.html +9 -9
  184. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  185. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  186. package/docs/interfaces/PanoMeasureParameterType.html +15 -15
  187. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  188. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  189. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  190. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  191. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  192. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  193. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  194. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  195. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  196. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  197. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  198. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  199. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  200. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  201. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  202. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  203. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  204. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  205. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  206. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  207. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  208. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  209. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  210. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  211. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  212. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  213. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  214. package/docs/interfaces/Point.html +7 -7
  215. package/docs/interfaces/Room.html +8 -8
  216. package/docs/interfaces/RoomInfo.html +6 -6
  217. package/docs/interfaces/RoomLabel.html +13 -13
  218. package/docs/interfaces/RoomRules.html +4 -4
  219. package/docs/interfaces/Rooms.html +4 -4
  220. package/docs/interfaces/Scissor.html +8 -8
  221. package/docs/interfaces/State.html +7 -7
  222. package/docs/interfaces/TagCacheInterface.html +11 -11
  223. package/docs/interfaces/TagConfig.html +13 -13
  224. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  225. package/docs/interfaces/TagIconUrl.html +11 -11
  226. package/docs/interfaces/TagObjectGroup.html +5 -5
  227. package/docs/interfaces/TagStyle.html +5 -5
  228. package/docs/interfaces/Tags.html +8 -8
  229. package/docs/interfaces/TemporaryState.html +5 -5
  230. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  231. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  232. package/docs/interfaces/Util.PointIntersection.html +7 -7
  233. package/docs/modules/AreaMakerPluginType.html +6 -4
  234. package/docs/modules/CruisePluginTypes.html +4 -4
  235. package/docs/modules/CurrentPanoImagePluginType.html +4 -4
  236. package/docs/modules/GuideLineItem.html +4 -4
  237. package/docs/modules/GuideLineModeItem.html +4 -4
  238. package/docs/modules/GuideLinePluginType.html +4 -4
  239. package/docs/modules/PanoVideoPluginType.html +4 -4
  240. package/docs/modules/Util.html +4 -4
  241. package/docs/modules.html +4 -4
  242. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -4
  243. package/docs/types/AreaMakerPluginType.ItemRenderer.html +323 -0
  244. package/docs/types/AreaMakerPluginType.PluginData.html +5 -4
  245. package/docs/types/AreaMakerPluginType.ServerData.html +5 -4
  246. package/docs/types/ArrayPosition.html +4 -4
  247. package/docs/types/AudioAppearance.html +4 -4
  248. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  249. package/docs/types/CSS3DRenderExportType.html +4 -4
  250. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  251. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  252. package/docs/types/ClassFunctionParameters.html +4 -4
  253. package/docs/types/Color.html +4 -4
  254. package/docs/types/ContentTypeConfigKey.html +4 -4
  255. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  256. package/docs/types/ContentTypeMap.html +4 -4
  257. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  258. package/docs/types/Create3DElementReturnType.html +4 -4
  259. package/docs/types/CruisePluginExportType.html +4 -4
  260. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  261. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  262. package/docs/types/CurrentPanoImagePluginExportType.html +4 -4
  263. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  264. package/docs/types/DeprecatedTagProperty.html +4 -4
  265. package/docs/types/Direction-1.html +4 -4
  266. package/docs/types/Direction4.html +4 -4
  267. package/docs/types/ElementRenderer.html +4 -4
  268. package/docs/types/FloorplanRuleLabels.html +4 -4
  269. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  270. package/docs/types/GuideLinePluginExportType.html +4 -4
  271. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  272. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  273. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  274. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  275. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  276. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  277. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  278. package/docs/types/HelperEventMap.html +4 -4
  279. package/docs/types/LoadTagConfig.html +4 -4
  280. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  281. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  282. package/docs/types/MediaData.html +4 -4
  283. package/docs/types/MediaStore.html +4 -4
  284. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  285. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  286. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  287. package/docs/types/ModelId.html +4 -4
  288. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  289. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  290. package/docs/types/MoveArgs.html +4 -4
  291. package/docs/types/MoveOpts.html +4 -4
  292. package/docs/types/Object3DHelperEventMap.html +4 -4
  293. package/docs/types/ObjectFit.html +4 -4
  294. package/docs/types/PaintBrushEventMap.html +4 -4
  295. package/docs/types/PanoCompassPluginData.html +4 -4
  296. package/docs/types/PanoCompassPluginExportType.html +4 -4
  297. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  298. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  299. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  300. package/docs/types/PanoIndex.html +4 -4
  301. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  302. package/docs/types/PanoMeasureReturnType.html +4 -4
  303. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  304. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  305. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  306. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  307. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  308. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  309. package/docs/types/PipelinePluginParameterType.html +4 -4
  310. package/docs/types/PipelinePluginReturnType.html +4 -4
  311. package/docs/types/PlaneTag.html +4 -4
  312. package/docs/types/Point2DTag.html +4 -4
  313. package/docs/types/Point3DTag.html +4 -4
  314. package/docs/types/PointTag.html +4 -4
  315. package/docs/types/PointTagInstance.html +4 -4
  316. package/docs/types/Position.html +4 -4
  317. package/docs/types/RotateArgs.html +4 -4
  318. package/docs/types/RotateOpts.html +4 -4
  319. package/docs/types/RuleLabelsKey.html +4 -4
  320. package/docs/types/RuleLabelsValue.html +4 -4
  321. package/docs/types/StickType.html +4 -4
  322. package/docs/types/Tag.html +4 -4
  323. package/docs/types/Tag2D.html +4 -4
  324. package/docs/types/Tag3D.html +4 -4
  325. package/docs/types/TagConfigByKey.html +4 -4
  326. package/docs/types/TagContentType.html +4 -4
  327. package/docs/types/TagContentTypeMapping.html +4 -4
  328. package/docs/types/TagDimensionType.html +4 -4
  329. package/docs/types/TagElement.html +4 -4
  330. package/docs/types/TagEvents.html +4 -4
  331. package/docs/types/TagGLTFObject.html +4 -4
  332. package/docs/types/TagHooks.html +4 -4
  333. package/docs/types/TagId.html +4 -4
  334. package/docs/types/TagInstance.html +4 -4
  335. package/docs/types/TagPointType.html +4 -4
  336. package/docs/types/TagRendererMap.html +4 -4
  337. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  338. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  339. package/docs/types/WorkCode.html +4 -4
  340. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  341. package/docs/variables/PLUGIN.html +4 -4
  342. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  343. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  344. package/docs/variables/defaultGlobalConfig.html +4 -4
  345. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  346. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  347. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  348. package/libs/AreaMakerPlugin/Controller.d.ts +2 -0
  349. package/libs/AreaMakerPlugin/Controller.js +32 -30
  350. package/libs/AreaMakerPlugin/typing.d.ts +1 -0
  351. package/libs/AreaMakerPlugin/utils/Item.d.ts +4 -0
  352. package/libs/AreaMakerPlugin/utils/Item.js +59 -53
  353. package/libs/PanoTagPlugin/controller/index.js +1 -1
  354. package/libs/base/BasePlugin.js +1 -1
  355. package/libs/components/AreaLabel/LabelItem.js +111 -68
  356. package/libs/shared-utils/logger.js +1 -1
  357. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>defaultGlobalConfig | 如视看房插件合集 - v3.6.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>defaultGlobalConfig | 如视看房插件合集 - v3.7.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.6.0-dev.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.7.0-dev.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -17,7 +17,7 @@
17
17
  <h1>Variable defaultGlobalConfig<code class="tsd-tag ts-flagConst">Const</code> </h1></div>
18
18
  <div class="tsd-signature"><span class="tsd-kind-variable">default<wbr/>Global<wbr/>Config</span><span class="tsd-signature-symbol">:</span> <a href="../interfaces/TagConfig.html" class="tsd-signature-type tsd-kind-interface">TagConfig</a><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources">
19
19
  <ul>
20
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/980f78f/plugins/src/PanoTagPlugin/typings/tag/TagConfig.ts#L230">plugins/src/PanoTagPlugin/typings/tag/TagConfig.ts:230</a></li></ul></aside></div>
20
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/7d167f1a/plugins/src/PanoTagPlugin/typings/tag/TagConfig.ts#L230">plugins/src/PanoTagPlugin/typings/tag/TagConfig.ts:230</a></li></ul></aside></div>
21
21
  <div class="col-sidebar">
22
22
  <div class="page-menu">
23
23
  <div class="tsd-navigation settings">
@@ -31,7 +31,7 @@
31
31
  <div class="tsd-theme-toggle">
32
32
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
33
33
  <div class="site-menu">
34
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.6.0-<wbr/>dev.0</span></a>
34
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.7.0-<wbr/>dev.0</span></a>
35
35
  <ul class="tsd-small-nested-navigation">
36
36
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
37
37
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.6.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>itemLabelPluginServerParams | 如视看房插件合集 - v3.7.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.6.0-dev.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.7.0-dev.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/980f78f/plugins/src/ItemLabelPlugin/index.ts#L7">plugins/src/ItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/7d167f1a/plugins/src/ItemLabelPlugin/index.ts#L7">plugins/src/ItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.6.0-<wbr/>dev.0</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.7.0-<wbr/>dev.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.6.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelItemLabelPluginServerParams | 如视看房插件合集 - v3.7.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.6.0-dev.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.7.0-dev.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/980f78f/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/7d167f1a/plugins/src/ModelItemLabelPlugin/index.ts#L7">plugins/src/ModelItemLabelPlugin/index.ts:7</a></li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.6.0-<wbr/>dev.0</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.7.0-<wbr/>dev.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.6.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>modelRoomLabelPluginServerParams | 如视看房插件合集 - v3.7.0-dev.0</title><meta name="description" content="Documentation for 如视看房插件合集"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
2
  <div class="tsd-toolbar-contents container">
3
3
  <div class="table-cell" id="tsd-search" data-base="..">
4
4
  <div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
@@ -6,7 +6,7 @@
6
6
  <div id="tsd-toolbar-links"></div></div>
7
7
  <ul class="results">
8
8
  <li class="state loading">Preparing search index...</li>
9
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.6.0-dev.0</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视看房插件合集 - v3.7.0-dev.0</a></div>
10
10
  <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
11
11
  <div class="container container-main">
12
12
  <div class="col-content">
@@ -24,7 +24,7 @@
24
24
  <li class="tsd-parameter">
25
25
  <h5><span class="tsd-kind-property">version</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></h5></li></ul></div><aside class="tsd-sources">
26
26
  <ul>
27
- <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/980f78f/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
27
+ <li>Defined in <a href="https://github.com/realsee-developer/dnalogel/blob/7d167f1a/plugins/src/ModelRoomLabelPlugin/index.ts#L9">plugins/src/ModelRoomLabelPlugin/index.ts:9</a></li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,7 +38,7 @@
38
38
  <div class="tsd-theme-toggle">
39
39
  <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
40
40
  <div class="site-menu">
41
- <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.6.0-<wbr/>dev.0</span></a>
41
+ <nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>如视看房插件合集 -<wbr/> v3.7.0-<wbr/>dev.0</span></a>
42
42
  <ul class="tsd-small-nested-navigation">
43
43
  <li><a href="../modules.html#CruisePluginController"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8388608"><rect fill="var(--color-icon-background)" stroke="#FF4D82" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M10.354 17V8.24H13.066C13.586 8.24 14.042 8.348 14.434 8.564C14.826 8.772 15.13 9.064 15.346 9.44C15.562 9.816 15.67 10.256 15.67 10.76C15.67 11.352 15.514 11.86 15.202 12.284C14.898 12.708 14.482 13 13.954 13.16L15.79 17H14.518L12.838 13.28H11.434V17H10.354ZM11.434 12.308H13.066C13.514 12.308 13.874 12.168 14.146 11.888C14.418 11.6 14.554 11.224 14.554 10.76C14.554 10.288 14.418 9.912 14.146 9.632C13.874 9.352 13.514 9.212 13.066 9.212H11.434V12.308Z" fill="var(--color-text)"></path></g></svg><span>Cruise<wbr/>Plugin<wbr/>Controller</span></a></li>
44
44
  <li><a href="../modules/AreaMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Area<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
@@ -8,6 +8,8 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
8
8
  state: PluginType.State;
9
9
  /** 标注模型 { id: item } 的映射表 */
10
10
  itemMap: Map<string | number, AreaMakerItem>;
11
+ /** 自定义 DOM */
12
+ itemRenderer?: PluginType.ItemRenderer;
11
13
  /** 标注模型容器 */
12
14
  modelGroup: THREE.Group;
13
15
  /** 当前使用的数据 */
@@ -2,16 +2,16 @@ var C = Object.defineProperty, M = Object.defineProperties;
2
2
  var I = Object.getOwnPropertyDescriptors;
3
3
  var p = Object.getOwnPropertySymbols;
4
4
  var A = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
5
- var u = (h, o, t) => o in h ? C(h, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[o] = t, d = (h, o) => {
6
- for (var t in o || (o = {}))
7
- A.call(o, t) && u(h, t, o[t]);
5
+ var u = (h, r, t) => r in h ? C(h, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[r] = t, d = (h, r) => {
6
+ for (var t in r || (r = {}))
7
+ A.call(r, t) && u(h, t, r[t]);
8
8
  if (p)
9
- for (var t of p(o))
10
- S.call(o, t) && u(h, t, o[t]);
9
+ for (var t of p(r))
10
+ S.call(r, t) && u(h, t, r[t]);
11
11
  return h;
12
- }, f = (h, o) => M(h, I(o));
13
- var r = (h, o, t) => (u(h, typeof o != "symbol" ? o + "" : o, t), t);
14
- var m = (h, o, t) => new Promise((i, e) => {
12
+ }, f = (h, r) => M(h, I(r));
13
+ var o = (h, r, t) => (u(h, typeof r != "symbol" ? r + "" : r, t), t);
14
+ var m = (h, r, t) => new Promise((i, e) => {
15
15
  var s = (n) => {
16
16
  try {
17
17
  l(t.next(n));
@@ -25,7 +25,7 @@ var m = (h, o, t) => new Promise((i, e) => {
25
25
  e(c);
26
26
  }
27
27
  }, l = (n) => n.done ? i(n.value) : Promise.resolve(n.value).then(s, a);
28
- l((t = t.apply(h, o)).next());
28
+ l((t = t.apply(h, r)).next());
29
29
  });
30
30
  import * as g from "three";
31
31
  import { Controller as _ } from "../base/BasePluginWithData.js";
@@ -61,7 +61,7 @@ import "../components/AreaLabel/LabelItem.js";
61
61
  import "../vendor/svelte/internal/index.js";
62
62
  import "../components/AreaLabel/Assets/roomLabelBg.js";
63
63
  import "../shared-utils/math/planimetry.js";
64
- class rt extends _ {
64
+ class at extends _ {
65
65
  /** AreaMakerPlugin
66
66
  * @param `five` `<Five>` Five 实例
67
67
  * @param `params` `<PluginType.Params> | <undefined>` 插件初始化参数
@@ -71,41 +71,43 @@ class rt extends _ {
71
71
  super(t);
72
72
  // ==================== public properties ====================
73
73
  /** 插件当前状态 */
74
- r(this, "state");
74
+ o(this, "state");
75
75
  /** 标注模型 { id: item } 的映射表 */
76
- r(this, "itemMap");
76
+ o(this, "itemMap");
77
+ /** 自定义 DOM */
78
+ o(this, "itemRenderer");
77
79
  /** 标注模型容器 */
78
- r(this, "modelGroup");
80
+ o(this, "modelGroup");
79
81
  /** 当前使用的数据 */
80
- r(this, "data");
82
+ o(this, "data");
81
83
  /** tag 容器 */
82
- r(this, "tagDomContainer");
84
+ o(this, "tagDomContainer");
83
85
  /** 用于监听容器尺寸变化的 iframe */
84
- r(this, "resizeIframe");
86
+ o(this, "resizeIframe");
85
87
  /** 查询问题使用的调试对象 */
86
- r(this, "checkMsg", {
88
+ o(this, "checkMsg", {
87
89
  childrenMountedState: ""
88
90
  });
89
91
  // ==================== private properties ====================
90
92
  /** 是否在 Five Change Mode 动画中 */
91
- r(this, "isInFiveChangeModeAnime", !1);
93
+ o(this, "isInFiveChangeModeAnime", !1);
92
94
  /** 子组件是否挂载 */
93
- r(this, "childrenMountedState", !1);
95
+ o(this, "childrenMountedState", !1);
94
96
  /** config 的原始值 */
95
- r(this, "_config");
97
+ o(this, "_config");
96
98
  /** disposed 的原始值 */
97
- r(this, "_disposed", !1);
99
+ o(this, "_disposed", !1);
98
100
  /** 销毁插件,移除所有副作用,销毁后将不响应任何 API */
99
- r(this, "dispose", () => {
101
+ o(this, "dispose", () => {
100
102
  this.five.scene.remove(this.modelGroup);
101
103
  });
102
- r(this, "onFiveInitAnimationWillStart", () => {
104
+ o(this, "onFiveInitAnimationWillStart", () => {
103
105
  this.isInFiveChangeModeAnime = !0, this.updateChildrenMountedState();
104
106
  });
105
- r(this, "onFiveInitAnimationEnded", () => {
107
+ o(this, "onFiveInitAnimationEnded", () => {
106
108
  this.isInFiveChangeModeAnime = !1, this.updateChildrenMountedState();
107
109
  });
108
- r(this, "onFiveCameraUpdate", () => {
110
+ o(this, "onFiveCameraUpdate", () => {
109
111
  const t = this.five.camera;
110
112
  [...this.itemMap.values()].sort((e, s) => {
111
113
  const a = e.tagPosition.distanceTo(t.position);
@@ -115,13 +117,13 @@ class rt extends _ {
115
117
  (a = this.getMaskItemByID(e.id)) == null || a.setTagZIndex(s * 10);
116
118
  });
117
119
  });
118
- r(this, "onFiveModeChange", () => {
120
+ o(this, "onFiveModeChange", () => {
119
121
  this.updateChildrenMountedState();
120
122
  });
121
- r(this, "onMakerTagClick", (t) => {
123
+ o(this, "onMakerTagClick", (t) => {
122
124
  this.hooks.emit("wantsTap", { target: t.target, intersectObjects: [] });
123
125
  });
124
- r(this, "onWantsFiveTapGesture", (t) => {
126
+ o(this, "onWantsFiveTapGesture", (t) => {
125
127
  const i = Array.from(this.itemMap.values()).filter((n) => n.mounted && n.visible).map((n) => ({
126
128
  makerItem: n,
127
129
  intersects: n.modelGroup.getRaycastIntersects(t)
@@ -165,7 +167,7 @@ class rt extends _ {
165
167
  const i = this.data;
166
168
  this.data = this.formatData(t), this.hooks.emit("dataChange", this.data, i), this.modelGroup.remove(...this.modelGroup.children), this.itemMap.clear(), this.data.list.forEach((e) => {
167
169
  const s = new y(this, e);
168
- this.modelGroup.add(s.modelGroup), this.itemMap.set(e.id, s), s.hooks.on("tagClick", this.onMakerTagClick);
170
+ s.itemRenderer = this.itemRenderer, this.modelGroup.add(s.modelGroup), this.itemMap.set(e.id, s), s.hooks.on("tagClick", this.onMakerTagClick);
169
171
  });
170
172
  });
171
173
  }
@@ -336,5 +338,5 @@ class rt extends _ {
336
338
  }
337
339
  }
338
340
  export {
339
- rt as Controller
341
+ at as Controller
340
342
  };
@@ -106,6 +106,7 @@ export interface ServerDataV2 {
106
106
  export type ServerData = ServerDataV1 | ServerDataV2;
107
107
  /** 插件使用的数据 */
108
108
  export type PluginData = ServerDataV2;
109
+ export type ItemRenderer = (container: HTMLElement, item: ServerAreaMakerItem) => () => void;
109
110
  export interface ServerAreaMakerItem {
110
111
  id: number | string;
111
112
  /** 标注名称 */
@@ -58,6 +58,10 @@ export declare class AreaMakerItem {
58
58
  tagZIndex: number;
59
59
  /** 标注实例的事件处理器 */
60
60
  hooks: Subscribe<PluginType.AreaMakerItemEventMap>;
61
+ /** 自定义 Dom */
62
+ itemRenderer?: PluginType.ItemRenderer;
63
+ /** 数据 */
64
+ private data;
61
65
  /** Plugin 实例 */
62
66
  private plugin;
63
67
  /** 标注透明度动画 */
@@ -1,6 +1,6 @@
1
- var f = Object.defineProperty;
2
- var d = (a, t, e) => t in a ? f(a, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[t] = e;
3
- var i = (a, t, e) => (d(a, typeof t != "symbol" ? t + "" : t, e), e);
1
+ var d = Object.defineProperty;
2
+ var f = (a, e, t) => e in a ? d(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t;
3
+ var i = (a, e, t) => (f(a, typeof e != "symbol" ? e + "" : e, t), t);
4
4
  import * as n from "three";
5
5
  import "hammerjs";
6
6
  import "@realsee/five";
@@ -30,17 +30,17 @@ import "../../shared-utils/animationFrame/index.js";
30
30
  import "../../vendor/svelte/internal/index.js";
31
31
  import "../../components/AreaLabel/Assets/roomLabelBg.js";
32
32
  class v extends b {
33
- constructor(e) {
33
+ constructor(t) {
34
34
  super();
35
35
  i(this, "areaMakerItem");
36
- this.areaMakerItem = e;
36
+ this.areaMakerItem = t;
37
37
  }
38
- raycast(e, s) {
39
- this.areaMakerItem.makerObject.raycast(e, s);
38
+ raycast(t, s) {
39
+ this.areaMakerItem.makerObject.raycast(t, s);
40
40
  }
41
41
  }
42
42
  class Q {
43
- constructor(t, e) {
43
+ constructor(e, t) {
44
44
  i(this, "id");
45
45
  /** 标注名称 */
46
46
  i(this, "name", "");
@@ -86,6 +86,10 @@ class Q {
86
86
  i(this, "tagZIndex", 0);
87
87
  /** 标注实例的事件处理器 */
88
88
  i(this, "hooks", new O());
89
+ /** 自定义 Dom */
90
+ i(this, "itemRenderer");
91
+ /** 数据 */
92
+ i(this, "data");
89
93
  /** Plugin 实例 */
90
94
  i(this, "plugin");
91
95
  /** 标注透明度动画 */
@@ -113,11 +117,11 @@ class Q {
113
117
  // })
114
118
  // }
115
119
  /** 透明度动画 */
116
- i(this, "doOpacityAnime", (t) => {
120
+ i(this, "doOpacityAnime", (e) => {
117
121
  var h;
118
122
  (h = this.opacityAnime) == null || h.dispose();
119
- const e = t.duration, [s, o] = t.makerObjectOpacity, [r, l] = t.outlineOpacity;
120
- if (e === 0) {
123
+ const t = e.duration, [s, o] = e.makerObjectOpacity, [r, l] = e.outlineOpacity;
124
+ if (t === 0) {
121
125
  this.makerObject.material.opacity = o, this.outline.material.opacity = l;
122
126
  return;
123
127
  }
@@ -133,8 +137,8 @@ class Q {
133
137
  });
134
138
  });
135
139
  /** 插件 Config 变化时更新自身 depthTest */
136
- i(this, "onPluginConfigChange", (t) => {
137
- this.makerObject.material.depthTest = t.config.modelDepthTest, this.outline.material.depthTest = t.config.modelDepthTest, this.plugin.five.needsRender = !0;
140
+ i(this, "onPluginConfigChange", (e) => {
141
+ this.makerObject.material.depthTest = e.config.modelDepthTest, this.outline.material.depthTest = e.config.modelDepthTest, this.plugin.five.needsRender = !0;
138
142
  });
139
143
  /** 插件整体可见性变化时,需要更新自身可见性 */
140
144
  i(this, "onPluginStateChange", () => {
@@ -142,15 +146,15 @@ class Q {
142
146
  });
143
147
  /** 更新标注可见性 */
144
148
  i(this, "updateVisible", () => {
145
- const { result: t, msg: e } = this.checkVisible();
146
- this.checkMsg.checkVisibleMsg = e, this.visible !== t && (this.visible = t, this.modelGroup.visible = t, this.plugin.five.needsRender = !0);
149
+ const { result: e, msg: t } = this.checkVisible();
150
+ this.checkMsg.checkVisibleMsg = t, this.visible !== e && (this.visible = e, this.modelGroup.visible = e, this.plugin.five.needsRender = !0);
147
151
  });
148
152
  /** 检测标注是否可见 */
149
153
  i(this, "checkVisible", () => {
150
154
  if (!this.plugin.state.visible)
151
155
  return { result: !1, msg: "插件不可见" };
152
- const e = this.plugin.five.model.shownFloor;
153
- return e === null || e === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${e}` };
156
+ const t = this.plugin.five.model.shownFloor;
157
+ return t === null || t === this.floorIndex ? { result: !0, msg: "" } : { result: !1, msg: `模型高亮楼层不符合展示条件, 当前高亮楼层为:${t}` };
154
158
  });
155
159
  /** 更新标注标签 */
156
160
  i(this, "updateTag", () => {
@@ -158,20 +162,20 @@ class Q {
158
162
  });
159
163
  /** 更新标注标签的 NDC Position */
160
164
  i(this, "updateTagNDCPosition", () => {
161
- const e = this.tagPosition.clone().project(this.plugin.five.camera);
162
- this.tagNDCPosition.copy(e);
165
+ const t = this.tagPosition.clone().project(this.plugin.five.camera);
166
+ this.tagNDCPosition.copy(t);
163
167
  });
164
168
  /** 更新标注标签的 transform */
165
169
  i(this, "updateTagDomTransform", () => {
166
170
  var o;
167
- const t = this.tagNDCPosition, e = Math.round((t.x + 1) / 2 * this.plugin.tagDomContainer.clientWidth), s = Math.round((-t.y + 1) / 2 * this.plugin.tagDomContainer.clientHeight);
168
- this.tagTransform.left === e && this.tagTransform.top === s || (this.tagTransform = { left: e, top: s }, (o = this.tagApp) == null || o.$set({ transform: `translate(${e}px, ${s}px)` }));
171
+ const e = this.tagNDCPosition, t = Math.round((e.x + 1) / 2 * this.plugin.tagDomContainer.clientWidth), s = Math.round((-e.y + 1) / 2 * this.plugin.tagDomContainer.clientHeight);
172
+ this.tagTransform.left === t && this.tagTransform.top === s || (this.tagTransform = { left: t, top: s }, (o = this.tagApp) == null || o.$set({ transform: `translate(${t}px, ${s}px)` }));
169
173
  });
170
174
  /** 更新标注标签可见性 */
171
175
  i(this, "updateTagVisible", () => {
172
176
  var s;
173
- const { result: t, msg: e } = this.checkTagVisible();
174
- this.checkMsg.checkTagVisibleMsg = e, this.tagVisible !== t && (this.tagVisible = t, (s = this.tagApp) == null || s.$set({ visible: t }));
177
+ const { result: e, msg: t } = this.checkTagVisible();
178
+ this.checkMsg.checkTagVisibleMsg = t, this.tagVisible !== e && (this.tagVisible = e, (s = this.tagApp) == null || s.$set({ visible: e }));
175
179
  });
176
180
  /** 检测标注标签是否可见 */
177
181
  i(this, "checkTagVisible", () => {
@@ -179,9 +183,9 @@ class Q {
179
183
  return { result: !1, msg: "标注整体不可见" };
180
184
  if (this.isInContainerResizeAnimation)
181
185
  return { result: !1, msg: "处于容器 resize 动画中" };
182
- const e = this.plugin.five, s = new n.Raycaster(), o = e.camera.position.clone();
186
+ const t = this.plugin.five, s = new n.Raycaster(), o = t.camera.position.clone();
183
187
  s.set(o.clone(), this.tagPosition.clone().sub(o).normalize());
184
- const [r] = e.model.intersectRaycaster(s), l = this.tagPosition.distanceTo(e.camera.position);
188
+ const [r] = t.model.intersectRaycaster(s), l = this.tagPosition.distanceTo(t.camera.position);
185
189
  if (r && r.distance + 0.1 < l)
186
190
  return { result: !1, msg: "标注标签被 Five 模型遮挡" };
187
191
  const h = this.tagNDCPosition;
@@ -194,14 +198,14 @@ class Q {
194
198
  /** tag container DOM 发生 resize */
195
199
  i(this, "onContainerResize", () => {
196
200
  this.isInContainerResizeAnimation === !1 && (this.isInContainerResizeAnimation = !0, this.updateTag());
197
- const e = () => {
201
+ const t = () => {
198
202
  this.isInContainerResizeAnimation = !1, this.containerResizeTimeoutID = null, this.updateTag();
199
203
  };
200
- this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(e, 100);
204
+ this.containerResizeTimeoutID && clearTimeout(this.containerResizeTimeoutID), this.containerResizeTimeoutID = setTimeout(t, 100);
201
205
  });
202
206
  var p, m, c;
203
- const s = e.object_data, o = s.bottom_y, r = s.height, l = new n.Color((p = s.color) != null ? p : "#FFFFFF"), h = (m = s.opacity) != null ? m : 0.4;
204
- this.id = e.id, this.name = (c = e.name) != null ? c : "", this.plugin = t, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new n.Shape().fromJSON(s.shape), this.floorIndex = e.floor_index, this.makerObject = new n.Mesh(g(this.shape, r), M(l, h)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new k(
207
+ const s = t.object_data, o = s.bottom_y, r = s.height, l = new n.Color((p = s.color) != null ? p : "#FFFFFF"), h = (m = s.opacity) != null ? m : 0.4;
208
+ this.data = t, this.id = t.id, this.name = (c = t.name) != null ? c : "", this.plugin = e, this.height = r, this.bottomY = o, this.opacity = h, this.shape = new n.Shape().fromJSON(s.shape), this.floorIndex = t.floor_index, this.makerObject = new n.Mesh(g(this.shape, r), M(l, h)), u(this.makerObject, o), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline = new k(
205
209
  new n.EdgesGeometry(this.makerObject.geometry),
206
210
  new n.LineBasicMaterial({ color: l, transparent: !0 })
207
211
  ), u(this.outline, o), this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.setHeight(r), this.modelGroup = new v(this);
@@ -209,44 +213,46 @@ class Q {
209
213
  /** 挂载标注 */
210
214
  mount() {
211
215
  if (this.mounted = !0, this.updateVisible(), this.makerObject.material.depthTest = this.plugin.config.modelDepthTest, this.outline.material.depthTest = this.plugin.config.modelDepthTest, this.modelGroup.add(this.makerObject, this.outline), !!this.name) {
212
- const e = this.plugin.tagDomContainer, s = {
216
+ const t = this.plugin.tagDomContainer, s = {
217
+ data: this.data,
213
218
  content: this.name,
214
219
  visible: this.tagVisible,
220
+ renderer: this.itemRenderer,
215
221
  transform: `translate(${this.tagTransform.left}px, ${this.tagTransform.top}px)`,
216
222
  onClick: (o) => this.hooks.emit("tagClick", { target: this, nativeEvent: o })
217
223
  };
218
- this.tagApp = new T({ target: e, props: s }), this.updateTag();
224
+ this.tagApp = new T({ target: t, props: s }), this.updateTag();
219
225
  }
220
226
  this.plugin.five.needsRender = !0, this.plugin.hooks.on("stateChange", this.onPluginStateChange), this.plugin.hooks.on("configChange", this.onPluginConfigChange), this.plugin.five.on("modeChange", this.updateVisible), this.plugin.five.on("modelShownFloorChange", this.updateVisible), this.plugin.five.on("cameraUpdate", this.onFiveCameraUpdate), this.plugin.resizeIframe.contentWindow.addEventListener("resize", this.onContainerResize);
221
227
  }
222
228
  /** 卸载标注 */
223
229
  unmount() {
224
- var t;
225
- this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (t = this.tagApp) == null || t.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), this.plugin.resizeIframe.contentWindow.removeEventListener("resize", this.onContainerResize);
230
+ var e;
231
+ this.mounted = !1, this.modelGroup.remove(...this.modelGroup.children), (e = this.tagApp) == null || e.$destroy(), this.tagApp = null, this.plugin.hooks.off("stateChange", this.onPluginStateChange), this.plugin.hooks.off("configChange", this.onPluginConfigChange), this.plugin.five.off("modeChange", this.updateVisible), this.plugin.five.off("modelShownFloorChange", this.updateVisible), this.plugin.five.off("cameraUpdate", this.onFiveCameraUpdate), this.plugin.resizeIframe.contentWindow.removeEventListener("resize", this.onContainerResize);
226
232
  }
227
233
  /** 更改标注透明度
228
234
  * @param opacity 标注透明度,范围:0-1
229
235
  */
230
- setOpacity(t) {
231
- var e;
232
- this.opacity = t, (e = this.opacityAnime) == null || e.dispose(), this.makerObject.material.opacity = t, this.plugin.five.needsRender = !0;
236
+ setOpacity(e) {
237
+ var t;
238
+ this.opacity = e, (t = this.opacityAnime) == null || t.dispose(), this.makerObject.material.opacity = e, this.plugin.five.needsRender = !0;
233
239
  }
234
240
  /** 更改标注颜色
235
241
  * @param color 标注颜色,支持 hex
236
242
  * @example setColor('#FF0000')
237
243
  */
238
- setColor(t) {
239
- const e = new n.Color(t);
240
- this.makerObject.material.color = e, this.outline.material.color = e, this.plugin.five.needsRender = !0;
244
+ setColor(e) {
245
+ const t = new n.Color(e);
246
+ this.makerObject.material.color = t, this.outline.material.color = t, this.plugin.five.needsRender = !0;
241
247
  }
242
248
  /** 更改标注高度
243
249
  * @param height 标注高度,单位:米
244
250
  */
245
- setHeight(t) {
246
- if (t <= 0)
251
+ setHeight(e) {
252
+ if (e <= 0)
247
253
  throw new Error("高度必须大于 0");
248
- this.height = t, this.makerObject.geometry = g(this.shape, t), this.outline.geometry = new n.EdgesGeometry(this.makerObject.geometry);
249
- const e = this.shape.extractPoints(10).shape.slice(0, -1), s = C(e), o = new n.Vector3(s.x, s.y, t);
254
+ this.height = e, this.makerObject.geometry = g(this.shape, e), this.outline.geometry = new n.EdgesGeometry(this.makerObject.geometry);
255
+ const t = this.shape.extractPoints(10).shape.slice(0, -1), s = C(t), o = new n.Vector3(s.x, s.y, e);
250
256
  u(o, this.bottomY), this.tagPosition.copy(o), this.updateTag(), this.plugin.five.needsRender = !0;
251
257
  }
252
258
  /** 更改标注标签的显示层级
@@ -257,27 +263,27 @@ class Q {
257
263
  * - 标签 A <- 标签 B <- 相机: 标签 A 在标签 B 的后面
258
264
  * 但是当前元素是无法感知到这种变化的,所以需要通过父元素调用这个方法来更新标签的层级。
259
265
  */
260
- setTagZIndex(t) {
261
- var e;
262
- this.tagZIndex !== t && ((e = this.tagApp) == null || e.$set({ zIndex: t }));
266
+ setTagZIndex(e) {
267
+ var t;
268
+ this.tagZIndex !== e && ((t = this.tagApp) == null || t.$set({ zIndex: e }));
263
269
  }
264
270
  }
265
- function g(a, t) {
271
+ function g(a, e) {
266
272
  return new n.ExtrudeBufferGeometry(a, {
267
- depth: t,
273
+ depth: e,
268
274
  bevelEnabled: !1
269
275
  });
270
276
  }
271
- function M(a, t) {
277
+ function M(a, e) {
272
278
  return new n.MeshBasicMaterial({
273
279
  color: a,
274
- opacity: t,
280
+ opacity: e,
275
281
  transparent: !0
276
282
  });
277
283
  }
278
- function u(a, t) {
279
- const e = new n.Matrix4(), s = new n.Matrix4().makeRotationX(Math.PI / 2), o = new n.Matrix4().makeTranslation(0, 0, -t), r = new n.Matrix4().makeScale(1, 1, -1);
280
- e.multiply(s), e.multiply(o), e.multiply(r), a.applyMatrix4(e);
284
+ function u(a, e) {
285
+ const t = new n.Matrix4(), s = new n.Matrix4().makeRotationX(Math.PI / 2), o = new n.Matrix4().makeTranslation(0, 0, -e), r = new n.Matrix4().makeScale(1, 1, -1);
286
+ t.multiply(s), t.multiply(o), t.multiply(r), a.applyMatrix4(t);
281
287
  }
282
288
  export {
283
289
  Q as AreaMakerItem
@@ -443,7 +443,7 @@ class Ii extends z {
443
443
  changeTagById(e, t, i = !0) {
444
444
  const s = this.getTagById(e);
445
445
  let o = !1;
446
- t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
446
+ t && (t.data && (o = !0), i ? f(s, t) : Object.assign(s, t), s != null && s.tag3DContentSvelte && (t != null && t.normal) && (s.tag3DContentSvelte.currentNormal = P(t.normal)), this.setVisible(), this.updateRenderAllTags(), this.clearUnusedPanelTag(), o && s.hooks.emit("dataChanged", s.data));
447
447
  }
448
448
  /**
449
449
  * @description: 销毁tag