@realsee/dnalogel 3.34.6 → 3.35.0-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (408) hide show
  1. package/CHANGELOG.md +0 -9
  2. package/dist/ModelMakerPlugin/Controller.d.ts +1 -1
  3. package/dist/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  4. package/dist/PanoTagPlugin/controller/TagRender.d.ts +2 -1
  5. package/dist/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
  6. package/dist/PanoTagPlugin/controller/index.d.ts +1 -0
  7. package/dist/PanoTagPlugin/utils/debounce.d.ts +1 -0
  8. package/dist/PanoVideoPlugin/Controller.d.ts +1 -2
  9. package/dist/index.cjs.js +54 -54
  10. package/dist/index.js +3159 -3139
  11. package/dist/index.umd.js +44 -44
  12. package/dist/shared-utils/tag.d.ts +4 -4
  13. package/docs/assets/search.js +1 -1
  14. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +34 -44
  15. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +34 -44
  16. package/docs/classes/CSS3DRender.html +33 -43
  17. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -31
  18. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +45 -55
  19. package/docs/classes/{ModelMakerPluginInstance.html → Magnifier.html} +111 -203
  20. package/docs/classes/ModelRoomLabelController.html +13 -23
  21. package/docs/classes/MoveController.html +33 -43
  22. package/docs/classes/Object3DHelperController.html +47 -39
  23. package/docs/classes/PaintBrush.html +17 -27
  24. package/docs/classes/PanoMeasurePluginLine.html +36 -56
  25. package/docs/classes/PanoMeasurePluginModel.html +32 -42
  26. package/docs/classes/PanoMeasurePluginPoint.html +13 -23
  27. package/docs/classes/PanoMeasurePluginPolyline.html +34 -54
  28. package/docs/classes/PanoTagPluginController.html +126 -234
  29. package/docs/classes/Util.BetterTween.html +13 -27
  30. package/docs/classes/Util.Interval.html +15 -29
  31. package/docs/classes/Util.LineSegments.html +11 -25
  32. package/docs/classes/Util.Magnifier.html +60 -93
  33. package/docs/classes/Util.Object3D.html +12 -26
  34. package/docs/classes/Util.PointDomHelper.html +14 -28
  35. package/docs/classes/Util.PointHelper.html +14 -28
  36. package/docs/classes/Util.PointSelectorHelper.html +20 -34
  37. package/docs/classes/Util.Rectangle.html +16 -30
  38. package/docs/classes/WalkController.html +29 -39
  39. package/docs/enums/CameraMovementEffect.html +9 -19
  40. package/docs/enums/ContentType.html +23 -33
  41. package/docs/enums/DIRECTION.html +11 -21
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -21
  43. package/docs/enums/DimensionType.html +9 -19
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -20
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -21
  46. package/docs/enums/PaintBrushTypeEnum.html +10 -20
  47. package/docs/enums/PointType.html +9 -19
  48. package/docs/enums/Rotation.html +10 -20
  49. package/docs/functions/AreaMakerPlugin.html +7 -17
  50. package/docs/functions/CSS3DRenderPlugin.html +7 -17
  51. package/docs/functions/CameraMovementPlugin.html +7 -17
  52. package/docs/functions/CruisePlugin.html +7 -17
  53. package/docs/functions/CurrentPanoImagePlugin.html +7 -17
  54. package/docs/functions/GuideLinePlugin.html +7 -17
  55. package/docs/functions/ItemLabelPlugin.html +7 -17
  56. package/docs/functions/MapviewFloorplanPlugin.html +7 -17
  57. package/docs/functions/ModelChassisCompassPlugin.html +7 -17
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +7 -17
  59. package/docs/functions/ModelFloorplanPlugin.html +7 -17
  60. package/docs/functions/ModelItemLabelPlugin.html +7 -17
  61. package/docs/functions/ModelRoomLabelPlugin.html +7 -17
  62. package/docs/functions/ModelTVVideoPlugin.html +7 -17
  63. package/docs/functions/ModelViewPlugin.html +7 -17
  64. package/docs/functions/MovePlugin.html +8 -18
  65. package/docs/functions/Object3DHelperPlugin.html +7 -17
  66. package/docs/functions/PanoCompassPlugin.html +7 -17
  67. package/docs/functions/PanoCursorRaycasterPlugin.html +7 -17
  68. package/docs/functions/PanoDoorLabelPlugin.html +7 -17
  69. package/docs/functions/PanoFloorplanRadarPlugin.html +7 -17
  70. package/docs/functions/PanoMeasurePlugin.html +7 -17
  71. package/docs/functions/PanoRulerPlugin.html +7 -17
  72. package/docs/functions/PanoRulerProPlugin.html +7 -17
  73. package/docs/functions/PanoSpatialTagPlugin.html +7 -17
  74. package/docs/functions/PanoTagPlugin.html +8 -20
  75. package/docs/functions/PanoVideoPlugin.html +7 -17
  76. package/docs/functions/PipelinePlugin.html +7 -17
  77. package/docs/functions/TopviewFloorplanPlugin.html +7 -17
  78. package/docs/functions/Util.absoluteUrl.html +8 -22
  79. package/docs/functions/Util.checkFiveModelLoaded.html +8 -22
  80. package/docs/functions/Util.equal.html +8 -22
  81. package/docs/functions/Util.getCoordsFromClient.html +8 -22
  82. package/docs/functions/Util.getCoordsFromElement.html +8 -22
  83. package/docs/functions/Util.getFrameTime.html +8 -22
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +10 -29
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +8 -22
  86. package/docs/functions/Util.isAbsoluteURL.html +8 -22
  87. package/docs/functions/Util.isModelLike.html +8 -22
  88. package/docs/functions/Util.isNil.html +8 -22
  89. package/docs/functions/Util.isPanoramaLike.html +8 -22
  90. package/docs/functions/Util.nextFrame.html +8 -22
  91. package/docs/functions/Util.notNil.html +8 -22
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +8 -22
  93. package/docs/functions/Util.tweenProgress.html +8 -22
  94. package/docs/functions/Util.uuid.html +8 -22
  95. package/docs/functions/pluginFlag.html +7 -17
  96. package/docs/index.html +7 -18
  97. package/docs/interfaces/AddTagConfig.html +8 -18
  98. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +7 -17
  99. package/docs/interfaces/AreaMakerPluginType.Config.html +7 -17
  100. package/docs/interfaces/AreaMakerPluginType.EventMap.html +20 -30
  101. package/docs/interfaces/AreaMakerPluginType.Params.html +8 -18
  102. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +10 -20
  103. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +9 -19
  104. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +7 -17
  105. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +7 -17
  106. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +7 -17
  107. package/docs/interfaces/AreaMakerPluginType.State.html +9 -19
  108. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -23
  109. package/docs/interfaces/CSS3DRenderPluginState.html +10 -20
  110. package/docs/interfaces/CameraMovementPluginExportType.html +9 -19
  111. package/docs/interfaces/CruisePluginTypes.Config.html +10 -21
  112. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +13 -24
  113. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -33
  114. package/docs/interfaces/CruisePluginTypes.MoveAction.html +23 -39
  115. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +18 -30
  116. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +18 -30
  117. package/docs/interfaces/CruisePluginTypes.PluginData.html +30 -41
  118. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +7 -18
  119. package/docs/interfaces/CruisePluginTypes.PluginState.html +14 -25
  120. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -23
  121. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +14 -24
  122. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +9 -19
  123. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +8 -18
  124. package/docs/interfaces/CurrentPanoImagePluginType.State.html +10 -20
  125. package/docs/interfaces/EventMap.html +17 -27
  126. package/docs/interfaces/FloorplanBounding.html +10 -20
  127. package/docs/interfaces/FloorplanData.html +12 -22
  128. package/docs/interfaces/FloorplanEntrance.html +13 -23
  129. package/docs/interfaces/FloorplanExtraObject.html +12 -22
  130. package/docs/interfaces/FloorplanExtraObject3D.html +10 -20
  131. package/docs/interfaces/FloorplanFloorData.html +11 -21
  132. package/docs/interfaces/FloorplanImagePosition.html +9 -19
  133. package/docs/interfaces/FloorplanObserver.html +11 -21
  134. package/docs/interfaces/FloorplanOutlineItem.html +11 -21
  135. package/docs/interfaces/FloorplanPosition.html +9 -19
  136. package/docs/interfaces/FloorplanRoomItem.html +16 -26
  137. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -19
  138. package/docs/interfaces/FloorplanServerBounding.html +10 -20
  139. package/docs/interfaces/FloorplanServerComputedData.html +12 -22
  140. package/docs/interfaces/FloorplanServerData.html +9 -19
  141. package/docs/interfaces/FloorplanServerDoorItem.html +12 -22
  142. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -20
  143. package/docs/interfaces/FloorplanServerEntrance.html +13 -23
  144. package/docs/interfaces/FloorplanServerFloorData.html +11 -21
  145. package/docs/interfaces/FloorplanServerImagePosition.html +9 -19
  146. package/docs/interfaces/FloorplanServerObserver.html +11 -21
  147. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -21
  148. package/docs/interfaces/FloorplanServerPosition.html +9 -19
  149. package/docs/interfaces/FloorplanServerRoomItem.html +17 -27
  150. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -19
  151. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -20
  152. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +11 -21
  153. package/docs/interfaces/GuideLinePluginType.EventMap.html +14 -24
  154. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +9 -19
  155. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +7 -17
  156. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +16 -26
  157. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +7 -17
  158. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +9 -19
  159. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +22 -32
  160. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +8 -18
  161. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +23 -33
  162. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +6 -16
  163. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +7 -17
  164. package/docs/interfaces/GuideLinePluginType.PluginState.html +9 -19
  165. package/docs/interfaces/GuideLinePluginType.Route.html +12 -22
  166. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +10 -20
  167. package/docs/interfaces/HelperOffset.html +10 -20
  168. package/docs/interfaces/ImagePlaneGroup.html +8 -18
  169. package/docs/interfaces/ItemLabelPluginData.html +8 -18
  170. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -23
  171. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -21
  172. package/docs/interfaces/MinMax.html +9 -19
  173. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -19
  174. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -20
  175. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -19
  176. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -20
  177. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -20
  178. package/docs/interfaces/ModelItemLabelPluginData.html +8 -18
  179. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -23
  180. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -19
  181. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -18
  182. package/docs/interfaces/ModelTVVideoPluginData.html +11 -21
  183. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -20
  184. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -18
  185. package/docs/interfaces/ModelViewPluginExportType.html +13 -23
  186. package/docs/interfaces/Object3DHelperState.html +10 -20
  187. package/docs/interfaces/ObjectHelperControllers.html +12 -22
  188. package/docs/interfaces/PaintBrushAction.html +14 -24
  189. package/docs/interfaces/PaintBrushConfigs.html +14 -24
  190. package/docs/interfaces/PaintBrushState.html +12 -22
  191. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -22
  192. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -17
  193. package/docs/interfaces/PanoMeasureParameterType.html +18 -28
  194. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -20
  195. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -19
  196. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -19
  197. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -20
  198. package/docs/interfaces/PanoRulerPluginExportType.html +12 -22
  199. package/docs/interfaces/PanoRulerPluginOptions.html +9 -19
  200. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -20
  201. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -21
  202. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -19
  203. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -19
  204. package/docs/interfaces/PanoRulerProPluginState.html +10 -20
  205. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -17
  206. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -17
  207. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -23
  208. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -22
  209. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -25
  210. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -22
  211. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -25
  212. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -23
  213. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -22
  214. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -18
  215. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -20
  216. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -18
  217. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -21
  218. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -18
  219. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -20
  220. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -22
  221. package/docs/interfaces/Point.html +10 -20
  222. package/docs/interfaces/Room.html +11 -21
  223. package/docs/interfaces/RoomInfo.html +9 -19
  224. package/docs/interfaces/RoomLabel.html +16 -26
  225. package/docs/interfaces/RoomRules.html +7 -17
  226. package/docs/interfaces/Rooms.html +7 -17
  227. package/docs/interfaces/Scissor.html +11 -21
  228. package/docs/interfaces/State.html +10 -20
  229. package/docs/interfaces/TagCacheInterface.html +14 -24
  230. package/docs/interfaces/TagConfig.html +49 -65
  231. package/docs/interfaces/TagGLTFObjectGroup.html +8 -18
  232. package/docs/interfaces/TagIconUrl.html +14 -24
  233. package/docs/interfaces/TagObjectGroup.html +8 -18
  234. package/docs/interfaces/TagStyle.html +8 -18
  235. package/docs/interfaces/Tags.html +437 -61
  236. package/docs/interfaces/TemporaryState.html +8 -18
  237. package/docs/interfaces/Util.MagnifierParameter.html +24 -43
  238. package/docs/interfaces/Util.MouseGroupParameter.html +11 -25
  239. package/docs/interfaces/Util.PointIntersection.html +12 -33
  240. package/docs/modules/AreaMakerPluginType.html +6 -16
  241. package/docs/modules/CruisePluginTypes.html +6 -18
  242. package/docs/modules/CurrentPanoImagePluginType.html +7 -17
  243. package/docs/modules/GuideLineItem.html +7 -17
  244. package/docs/modules/GuideLineModeItem.html +7 -17
  245. package/docs/modules/GuideLinePluginType.html +6 -16
  246. package/docs/modules/PanoVideoPluginType.html +7 -17
  247. package/docs/modules/Util.html +8 -26
  248. package/docs/modules.html +11 -34
  249. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +6 -16
  250. package/docs/types/AreaMakerPluginType.ItemRenderer.html +6 -16
  251. package/docs/types/AreaMakerPluginType.PluginData.html +6 -16
  252. package/docs/types/AreaMakerPluginType.ServerData.html +6 -16
  253. package/docs/types/ArrayPosition.html +7 -17
  254. package/docs/types/AudioAppearance.html +7 -17
  255. package/docs/types/{PositionFrom.html → AudioTagTypeConfigKey.html} +10 -28
  256. package/docs/types/CSS3DRenderExportType.html +7 -17
  257. package/docs/types/CSS3DRenderPluginExportType.html +7 -17
  258. package/docs/types/CSS3DRenderPluginParameterType.html +7 -17
  259. package/docs/types/ClassFunctionParameters.html +7 -17
  260. package/docs/types/Color.html +7 -17
  261. package/docs/types/ContentTypeConfigKey.html +7 -17
  262. package/docs/types/ContentTypeConfigKeySplit.html +8 -18
  263. package/docs/types/ContentTypeMap.html +7 -17
  264. package/docs/types/Create3DDomContainerReturnType.html +7 -17
  265. package/docs/types/Create3DElementReturnType.html +7 -17
  266. package/docs/types/CruisePluginExportType.html +7 -17
  267. package/docs/types/CruisePluginTypes.CruiseData.html +6 -17
  268. package/docs/types/CruisePluginTypes.MoveEffect.html +6 -17
  269. package/docs/types/CurrentPanoImagePluginExportType.html +7 -17
  270. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -17
  271. package/docs/types/DeprecatedTagProperty.html +7 -17
  272. package/docs/types/Direction-1.html +7 -17
  273. package/docs/types/Direction4.html +7 -17
  274. package/docs/types/ElementRenderer.html +7 -17
  275. package/docs/types/FloorplanRuleLabels.html +7 -17
  276. package/docs/types/FloorplanServerRuleLabels.html +7 -17
  277. package/docs/types/GuideLinePluginExportType.html +7 -17
  278. package/docs/types/GuideLinePluginType.GuideLineItem.html +8 -18
  279. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +6 -16
  280. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +6 -16
  281. package/docs/types/GuideLinePluginType.GuideLineStyle.html +6 -16
  282. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +6 -16
  283. package/docs/types/GuideLinePluginType.PathItem.html +6 -16
  284. package/docs/types/GuideLinePluginType.PluginData.html +6 -16
  285. package/docs/types/HelperEventMap.html +7 -17
  286. package/docs/types/InternalHelperEventMap.html +11 -29
  287. package/docs/types/LoadTagConfig.html +7 -17
  288. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -17
  289. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -17
  290. package/docs/types/MediaData.html +10 -20
  291. package/docs/types/MediaStore.html +7 -17
  292. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -17
  293. package/docs/types/ModelFloorplanPluginParameterType.html +7 -17
  294. package/docs/types/ModelFloorplanPluginReturnType.html +7 -17
  295. package/docs/types/ModelId.html +7 -17
  296. package/docs/types/ModelRoomLabelPluginParameters.html +7 -17
  297. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -17
  298. package/docs/types/MoveArgs.html +7 -17
  299. package/docs/types/MoveOpts.html +7 -17
  300. package/docs/types/Object3DHelperEventMap.html +7 -17
  301. package/docs/types/ObjectFit.html +7 -17
  302. package/docs/types/PaintBrushEventMap.html +7 -17
  303. package/docs/types/PanoCompassPluginData.html +7 -17
  304. package/docs/types/PanoCompassPluginExportType.html +7 -17
  305. package/docs/types/PanoCompassPluginParameterType.html +7 -17
  306. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -17
  307. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -17
  308. package/docs/types/PanoIndex.html +7 -17
  309. package/docs/types/PanoMeasurePluginEvent.html +7 -17
  310. package/docs/types/PanoMeasureReturnType.html +7 -17
  311. package/docs/types/PanoSpatialTagPluginId.html +7 -17
  312. package/docs/types/PanoTagPluginExportInterface.html +7 -17
  313. package/docs/types/PanoTagPluginParamsInterface.html +7 -17
  314. package/docs/types/PanoVideoPluginParameterType.html +7 -17
  315. package/docs/types/PanoVideoPluginReturnType.html +7 -17
  316. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +12 -22
  317. package/docs/types/PipelinePluginParameterType.html +7 -17
  318. package/docs/types/PipelinePluginReturnType.html +7 -17
  319. package/docs/types/PlaneTag.html +7 -17
  320. package/docs/types/Point2DTag.html +7 -17
  321. package/docs/types/Point3DTag.html +7 -17
  322. package/docs/types/PointTag.html +7 -17
  323. package/docs/types/PointTagInstance.html +7 -17
  324. package/docs/types/Position.html +7 -17
  325. package/docs/types/RotateArgs.html +7 -17
  326. package/docs/types/RotateOpts.html +7 -17
  327. package/docs/types/RuleLabelsKey.html +7 -17
  328. package/docs/types/RuleLabelsValue.html +7 -17
  329. package/docs/types/StickType.html +7 -17
  330. package/docs/types/Tag.html +13 -35
  331. package/docs/types/Tag2D.html +7 -17
  332. package/docs/types/Tag3D.html +7 -17
  333. package/docs/types/TagConfigByKey.html +8 -18
  334. package/docs/types/TagContentType.html +7 -17
  335. package/docs/types/TagContentTypeMapping.html +7 -17
  336. package/docs/types/TagDimensionType.html +7 -17
  337. package/docs/types/TagElement.html +7 -17
  338. package/docs/types/TagEvents.html +12 -38
  339. package/docs/types/TagGLTFObject.html +7 -17
  340. package/docs/types/TagHooks.html +7 -17
  341. package/docs/types/TagId.html +7 -17
  342. package/docs/types/TagInstance.html +8 -44
  343. package/docs/types/TagPointType.html +7 -17
  344. package/docs/types/TagRendererMap.html +7 -17
  345. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -17
  346. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -17
  347. package/docs/types/WorkCode.html +7 -17
  348. package/docs/variables/FLOOR_TYPE_MAP.html +7 -17
  349. package/docs/variables/PLUGIN.html +7 -17
  350. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -17
  351. package/docs/variables/ROOM_TYPE_MAP.html +7 -17
  352. package/docs/variables/defaultGlobalConfig.html +7 -17
  353. package/docs/variables/itemLabelPluginServerParams.html +7 -17
  354. package/docs/variables/modelItemLabelPluginServerParams.html +7 -17
  355. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -17
  356. package/libs/ModelMakerPlugin/Controller.d.ts +1 -1
  357. package/libs/ModelMakerPlugin/Controller.js +86 -88
  358. package/libs/ModelMakerPlugin/item/baseItem.d.ts +1 -1
  359. package/libs/ModelMakerPlugin/item/baseItem.js +26 -23
  360. package/libs/PanoRulerPlugin/Plugin.js +15 -15
  361. package/libs/PanoTagPlugin/controller/TagComputer.js +2 -0
  362. package/libs/PanoTagPlugin/controller/TagRender.d.ts +2 -1
  363. package/libs/PanoTagPlugin/controller/TagRender.js +67 -63
  364. package/libs/PanoTagPlugin/controller/TagUtil.d.ts +11 -6
  365. package/libs/PanoTagPlugin/controller/TagUtil.js +106 -107
  366. package/libs/PanoTagPlugin/controller/index.d.ts +1 -0
  367. package/libs/PanoTagPlugin/controller/index.js +67 -61
  368. package/libs/PanoTagPlugin/utils/debounce.d.ts +1 -0
  369. package/libs/PanoTagPlugin/utils/debounce.js +10 -4
  370. package/libs/PanoTagPlugin/utils/index.js +7 -6
  371. package/libs/PanoVideoPlugin/Controller.d.ts +1 -2
  372. package/libs/PanoVideoPlugin/Controller.js +1 -1
  373. package/libs/base/BasePlugin.js +3 -3
  374. package/libs/shared-utils/logger.js +1 -1
  375. package/libs/shared-utils/tag.d.ts +4 -4
  376. package/libs/shared-utils/tag.js +30 -26
  377. package/package.json +2 -2
  378. package/docs/classes/Sculpt.html +0 -852
  379. package/docs/functions/ModelMakerPlugin.html +0 -303
  380. package/docs/functions/SculptPlugin.html +0 -306
  381. package/docs/functions/Util.blink.html +0 -351
  382. package/docs/functions/Util.reblink.html +0 -349
  383. package/docs/interfaces/ContentTypeMapInterface.html +0 -773
  384. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +0 -352
  385. package/docs/interfaces/ModelMakerPluginType.EventMap.html +0 -556
  386. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +0 -349
  387. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +0 -391
  388. package/docs/interfaces/ModelMakerPluginType.ServerData.html +0 -332
  389. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +0 -401
  390. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +0 -381
  391. package/docs/interfaces/ModelMakerPluginType.State.html +0 -364
  392. package/docs/interfaces/Util.BlinkAnimeOptions.html +0 -380
  393. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +0 -387
  394. package/docs/modules/ModelMakerPluginType.html +0 -339
  395. package/docs/modules/SculptData.html +0 -318
  396. package/docs/types/AddObject3DHelperConfig.html +0 -315
  397. package/docs/types/ModelMakerPluginType.ElementRenderer.html +0 -329
  398. package/docs/types/ModelMakerPluginType.ItemType.html +0 -308
  399. package/docs/types/ScaleCallback.html +0 -314
  400. package/docs/types/ScalePosition.html +0 -303
  401. package/docs/types/SculptData.BoxData.html +0 -306
  402. package/docs/types/SculptData.CircleData.html +0 -306
  403. package/docs/types/SculptData.CylinderData.html +0 -306
  404. package/docs/types/SculptData.PointData.html +0 -306
  405. package/docs/types/SculptData.PolygonData.html +0 -306
  406. package/docs/types/SculptData.PolylineData.html +0 -306
  407. package/docs/types/SculptData.PrismData.html +0 -306
  408. package/docs/types/SculptData.RectangleData.html +0 -306
@@ -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.34.6</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"/><link rel="stylesheet" href="../assets/custom.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.20.2</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"/><link rel="stylesheet" href="../assets/custom.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.34.6</a></div>
9
+ <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">如视空间交互插件合集 - v3.20.2</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 src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div>
27
+ <li>Defined in plugins/src/ModelRoomLabelPlugin/index.ts:9</li></ul></aside></div>
28
28
  <div class="col-sidebar">
29
29
  <div class="page-menu">
30
30
  <div class="tsd-navigation settings">
@@ -38,19 +38,16 @@
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.34.6</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.20.2</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
- <li><a href="../modules.html#Magnifier"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8388608"></use></svg><span>Magnifier</span></a></li>
45
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>
46
45
  <li><a href="../modules/CruisePluginTypes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Cruise<wbr/>Plugin<wbr/>Types</span></a></li>
47
46
  <li><a href="../modules/CurrentPanoImagePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Current<wbr/>Pano<wbr/>Image<wbr/>Plugin<wbr/>Type</span></a></li>
48
47
  <li><a href="../modules/GuideLineItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Item</span></a></li>
49
48
  <li><a href="../modules/GuideLineModeItem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Mode<wbr/>Item</span></a></li>
50
49
  <li><a href="../modules/GuideLinePluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Guide<wbr/>Line<wbr/>Plugin<wbr/>Type</span></a></li>
51
- <li><a href="../modules/ModelMakerPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Type</span></a></li>
52
50
  <li><a href="../modules/PanoVideoPluginType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin<wbr/>Type</span></a></li>
53
- <li><a href="../modules/SculptData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Sculpt<wbr/>Data</span></a></li>
54
51
  <li><a href="../modules/Util.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4"></use></svg><span>Util</span></a></li>
55
52
  <li><a href="../enums/CameraMovementEffect.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-8"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-enum)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.45 16V7.24H14.49V8.224H10.518V10.936H14.07V11.908H10.518V15.016H14.49V16H9.45Z" fill="var(--color-text)"></path></g></svg><span>Camera<wbr/>Movement<wbr/>Effect</span></a></li>
56
53
  <li><a href="../enums/ContentType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Content<wbr/>Type</span></a></li>
@@ -63,7 +60,7 @@
63
60
  <li><a href="../enums/PointType.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Point<wbr/>Type</span></a></li>
64
61
  <li><a href="../enums/Rotation.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-8"></use></svg><span>Rotation</span></a></li>
65
62
  <li><a href="../classes/CSS3DRender.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>CSS3DRender</span></a></li>
66
- <li><a href="../classes/ModelMakerPluginInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin<wbr/>Instance</span></a></li>
63
+ <li><a href="../classes/Magnifier.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Magnifier</span></a></li>
67
64
  <li><a href="../classes/ModelRoomLabelController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Controller</span></a></li>
68
65
  <li><a href="../classes/MoveController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Move<wbr/>Controller</span></a></li>
69
66
  <li><a href="../classes/Object3DHelperController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Object3DHelper<wbr/>Controller</span></a></li>
@@ -73,13 +70,11 @@
73
70
  <li><a href="../classes/PanoMeasurePluginPoint.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Point</span></a></li>
74
71
  <li><a href="../classes/PanoMeasurePluginPolyline.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Measure<wbr/>Plugin<wbr/>Polyline</span></a></li>
75
72
  <li><a href="../classes/PanoTagPluginController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin<wbr/>Controller</span></a></li>
76
- <li><a href="../classes/Sculpt.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Sculpt</span></a></li>
77
73
  <li><a href="../classes/WalkController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-128"></use></svg><span>Walk<wbr/>Controller</span></a></li>
78
74
  <li><a href="../interfaces/AddTagConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>Add<wbr/>Tag<wbr/>Config</span></a></li>
79
75
  <li><a href="../interfaces/CSS3DRenderPluginEventMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Event<wbr/>Map</span></a></li>
80
76
  <li><a href="../interfaces/CSS3DRenderPluginState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>State</span></a></li>
81
77
  <li><a href="../interfaces/CameraMovementPluginExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Camera<wbr/>Movement<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
82
- <li><a href="../interfaces/ContentTypeMapInterface.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Content<wbr/>Type<wbr/>Map<wbr/>Interface</span></a></li>
83
78
  <li><a href="../interfaces/EventMap.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Event<wbr/>Map</span></a></li>
84
79
  <li><a href="../interfaces/FloorplanBounding.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Floorplan<wbr/>Bounding</span></a></li>
85
80
  <li><a href="../interfaces/FloorplanData.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Floorplan<wbr/>Data</span></a></li>
@@ -169,9 +164,9 @@
169
164
  <li><a href="../interfaces/TagStyle.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tag<wbr/>Style</span></a></li>
170
165
  <li><a href="../interfaces/Tags.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Tags</span></a></li>
171
166
  <li><a href="../interfaces/TemporaryState.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>Temporary<wbr/>State</span></a></li>
172
- <li><a href="../types/AddObject3DHelperConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Add<wbr/>Object3DHelper<wbr/>Config</span></a></li>
173
- <li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Array<wbr/>Position</span></a></li>
167
+ <li><a href="../types/ArrayPosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4194304"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-type-alias)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.31 16V8.224H8.91V7.24H14.79V8.224H12.39V16H11.31Z" fill="var(--color-text)"></path></g></svg><span>Array<wbr/>Position</span></a></li>
174
168
  <li><a href="../types/AudioAppearance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Appearance</span></a></li>
169
+ <li><a href="../types/AudioTagTypeConfigKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Audio<wbr/>Tag<wbr/>Type<wbr/>Config<wbr/>Key</span></a></li>
175
170
  <li><a href="../types/CSS3DRenderExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Export<wbr/>Type</span></a></li>
176
171
  <li><a href="../types/CSS3DRenderPluginExportType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Export<wbr/>Type</span></a></li>
177
172
  <li><a href="../types/CSS3DRenderPluginParameterType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>CSS3DRender<wbr/>Plugin<wbr/>Parameter<wbr/>Type</span></a></li>
@@ -232,13 +227,10 @@
232
227
  <li><a href="../types/PointTag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag</span></a></li>
233
228
  <li><a href="../types/PointTagInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Point<wbr/>Tag<wbr/>Instance</span></a></li>
234
229
  <li><a href="../types/Position.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position</span></a></li>
235
- <li><a href="../types/PositionFrom.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Position<wbr/>From</span></a></li>
236
230
  <li><a href="../types/RotateArgs.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Args</span></a></li>
237
231
  <li><a href="../types/RotateOpts.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rotate<wbr/>Opts</span></a></li>
238
232
  <li><a href="../types/RuleLabelsKey.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Key</span></a></li>
239
233
  <li><a href="../types/RuleLabelsValue.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Rule<wbr/>Labels<wbr/>Value</span></a></li>
240
- <li><a href="../types/ScaleCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Callback</span></a></li>
241
- <li><a href="../types/ScalePosition.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Scale<wbr/>Position</span></a></li>
242
234
  <li><a href="../types/StickType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Stick<wbr/>Type</span></a></li>
243
235
  <li><a href="../types/Tag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag</span></a></li>
244
236
  <li><a href="../types/Tag2D.html" class="deprecated"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-4194304"></use></svg><span>Tag2D</span></a></li>
@@ -278,7 +270,6 @@
278
270
  <li><a href="../functions/ModelEntryDoorGuidePlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Entry<wbr/>Door<wbr/>Guide<wbr/>Plugin</span></a></li>
279
271
  <li><a href="../functions/ModelFloorplanPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Floorplan<wbr/>Plugin</span></a></li>
280
272
  <li><a href="../functions/ModelItemLabelPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Item<wbr/>Label<wbr/>Plugin</span></a></li>
281
- <li><a href="../functions/ModelMakerPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Maker<wbr/>Plugin</span></a></li>
282
273
  <li><a href="../functions/ModelRoomLabelPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>Room<wbr/>Label<wbr/>Plugin</span></a></li>
283
274
  <li><a href="../functions/ModelTVVideoPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>ModelTVVideo<wbr/>Plugin</span></a></li>
284
275
  <li><a href="../functions/ModelViewPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Model<wbr/>View<wbr/>Plugin</span></a></li>
@@ -295,7 +286,6 @@
295
286
  <li><a href="../functions/PanoTagPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pano<wbr/>Tag<wbr/>Plugin</span></a></li>
296
287
  <li><a href="../functions/PanoVideoPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pano<wbr/>Video<wbr/>Plugin</span></a></li>
297
288
  <li><a href="../functions/PipelinePlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Pipeline<wbr/>Plugin</span></a></li>
298
- <li><a href="../functions/SculptPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Sculpt<wbr/>Plugin</span></a></li>
299
289
  <li><a href="../functions/TopviewFloorplanPlugin.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>Topview<wbr/>Floorplan<wbr/>Plugin</span></a></li>
300
290
  <li><a href="../functions/pluginFlag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>plugin<wbr/>Flag</span></a></li></ul></nav></div></div></div>
301
291
  <div class="overlay"></div></body></html>
@@ -10,7 +10,7 @@ export declare class Controller extends BasePlugin.Controller<PluginType.State,
10
10
  private tagRendererMap;
11
11
  private fiveDomEvents;
12
12
  private zFightingOffset;
13
- private tagWrapper;
13
+ private tagContainerZIndex?;
14
14
  constructor(five: Five, config?: {
15
15
  tagContainerZIndex?: number;
16
16
  });
@@ -1,40 +1,40 @@
1
- var P = Object.defineProperty;
2
- var W = (p, n, e) => n in p ? P(p, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : p[n] = e;
3
- var s = (p, n, e) => (W(p, typeof n != "symbol" ? n + "" : n, e), e);
4
- var R = (p, n, e) => new Promise((o, t) => {
5
- var l = (r) => {
1
+ var I = Object.defineProperty;
2
+ var P = (l, n, e) => n in l ? I(l, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : l[n] = e;
3
+ var r = (l, n, e) => (P(l, typeof n != "symbol" ? n + "" : n, e), e);
4
+ var M = (l, n, e) => new Promise((i, d) => {
5
+ var t = (s) => {
6
6
  try {
7
- a(e.next(r));
8
- } catch (d) {
9
- t(d);
7
+ o(e.next(s));
8
+ } catch (a) {
9
+ d(a);
10
10
  }
11
- }, i = (r) => {
11
+ }, c = (s) => {
12
12
  try {
13
- a(e.throw(r));
14
- } catch (d) {
15
- t(d);
13
+ o(e.throw(s));
14
+ } catch (a) {
15
+ d(a);
16
16
  }
17
- }, a = (r) => r.done ? o(r.value) : Promise.resolve(r.value).then(l, i);
18
- a((e = e.apply(p, n)).next());
17
+ }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(t, c);
18
+ o((e = e.apply(l, n)).next());
19
19
  });
20
- import { Controller as C } from "../base/BasePluginWithData.js";
20
+ import { Controller as D } from "../base/BasePluginWithData.js";
21
21
  import * as h from "three";
22
- import { ModelMakerBoxItem as D } from "./item/boxItem.js";
23
- import { PrismMesh as x } from "../Sculpt/Meshes/Prism.js";
24
- import { anyPositionToVector3 as I } from "../shared-utils/positionToVector3.js";
25
- import { PolygonWithEdgeMesh as A } from "../Sculpt/Meshes/PolygonWithEdge.js";
22
+ import { ModelMakerBoxItem as A } from "./item/boxItem.js";
23
+ import { PrismMesh as j } from "../Sculpt/Meshes/Prism.js";
24
+ import { anyPositionToVector3 as T } from "../shared-utils/positionToVector3.js";
25
+ import { PolygonWithEdgeMesh as H } from "../Sculpt/Meshes/PolygonWithEdge.js";
26
26
  import "hammerjs";
27
27
  import "@realsee/five";
28
28
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
29
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
31
31
  import "animejs";
32
- import { notNil as j } from "../shared-utils/isNil.js";
33
- import { tagRendererMap as T } from "./utils/tagRenderer.js";
34
- import { ModelMakerPrismItem as H } from "./item/prismItem.js";
35
- import { ModelMakerPolygonItem as F } from "./item/polygonItem.js";
36
- import { boxVertex as f } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
- import { getFiveDomEvent as z } from "./utils/getFiveDomEvent.js";
32
+ import { notNil as V } from "../shared-utils/isNil.js";
33
+ import { tagRendererMap as F } from "./utils/tagRenderer.js";
34
+ import { ModelMakerPrismItem as L } from "./item/prismItem.js";
35
+ import { ModelMakerPolygonItem as O } from "./item/polygonItem.js";
36
+ import { boxVertex as m } from "../shared-utils/Object3DHelper/utils/boundingBox.js";
37
+ import { getFiveDomEvent as Z } from "./utils/getFiveDomEvent.js";
38
38
  import "../base/BasePlugin.js";
39
39
  import "../shared-utils/Subscribe.js";
40
40
  import "../shared-utils/url/absoluteUrl.js";
@@ -75,105 +75,103 @@ import "../shared-utils/tag.js";
75
75
  import "../shared-utils/five/vector3ToScreen.js";
76
76
  import "../shared-utils/five/FiveDomEvents.js";
77
77
  import "../shared-utils/five/calculateThreeMouse.js";
78
- class Ge extends C {
79
- constructor(e, o) {
78
+ class Se extends D {
79
+ constructor(e, i) {
80
80
  super(e);
81
- s(this, "state");
82
- s(this, "items", []);
83
- s(this, "data");
84
- s(this, "group", new h.Group());
85
- s(this, "tagRendererMap", {});
86
- s(this, "fiveDomEvents");
87
- s(this, "zFightingOffset", 0);
88
- s(this, "tagWrapper");
89
- s(this, "handleEnable", () => {
90
- var e, o;
91
- this.five.scene.add(this.group), (o = (e = this.five.getElement()) == null ? void 0 : e.parentElement) == null || o.appendChild(this.tagWrapper), this.five.needsRender = !0;
81
+ r(this, "state");
82
+ r(this, "items", []);
83
+ r(this, "data");
84
+ r(this, "group", new h.Group());
85
+ r(this, "tagRendererMap", {});
86
+ r(this, "fiveDomEvents");
87
+ r(this, "zFightingOffset", 0);
88
+ r(this, "tagContainerZIndex");
89
+ r(this, "handleEnable", () => {
90
+ this.items.forEach((e) => e.enable());
92
91
  });
93
- s(this, "handleDisable", () => {
94
- this.five.scene.remove(this.group), this.tagWrapper.remove(), this.five.needsRender = !0;
92
+ r(this, "handleDisable", () => {
93
+ this.items.forEach((e) => e.disable());
95
94
  });
96
- s(this, "updateTagRenderer", () => {
95
+ r(this, "updateTagRenderer", () => {
97
96
  this.items.forEach((e) => {
98
- var t;
99
- const o = (t = this.tagRendererMap[e.type]) != null ? t : T[e.type];
100
- o && e.__renderer !== o && (e.__renderer = o, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = o(e.tag.container, e));
97
+ var d;
98
+ const i = (d = this.tagRendererMap[e.type]) != null ? d : F[e.type];
99
+ i && e.__renderer !== i && (e.__renderer = i, typeof e.__disposeRenderer == "function" && e.__disposeRenderer(), e.tag.container.innerHTML = "", e.__disposeRenderer = i(e.tag.container, e));
101
100
  });
102
101
  });
103
- this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = z(e), this.tagWrapper = (() => {
104
- var l;
105
- const t = document.createElement("div");
106
- return t.style.position = "absolute", t.style.top = "0", t.style.left = "0", t.style.width = "100%", t.style.height = "100%", t.style.pointerEvents = "none", t.style.zIndex = `${(l = o == null ? void 0 : o.tagContainerZIndex) != null ? l : ""}`, t;
107
- })(), e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
102
+ this.group.name = "ModelMakerPluginGroup", this.state = { enabled: !0, visible: !0 }, this.fiveDomEvents = Z(e), this.tagContainerZIndex = i == null ? void 0 : i.tagContainerZIndex, e.scene.add(this.group), this.handleEnable(), window.__MODELMAKER_DEBUG__ = this;
108
103
  }
109
104
  load(e) {
110
- return R(this, null, function* () {
111
- var o;
112
- this.clear(), this.data = e, (o = e == null ? void 0 : e.list) == null || o.forEach((t) => {
113
- var l;
105
+ return M(this, null, function* () {
106
+ var d;
107
+ this.clear(), this.data = e;
108
+ const i = this.tagContainerZIndex;
109
+ (d = e == null ? void 0 : e.list) == null || d.forEach((t) => {
110
+ var c;
114
111
  if (t.type === "triangles") {
115
- const i = new A();
116
- i.setPoints(t.object_data.points), i.setStyle({
112
+ const o = new H();
113
+ o.setPoints(t.object_data.points), o.setStyle({
117
114
  color: t.object_data.color,
118
115
  opacity: t.object_data.opacity,
119
116
  lineColor: t.object_data.color,
120
117
  occlusionVisibility: !1
121
- }), this.fiveDomEvents.addEventListener(i, "hover", () => i.highlight()), this.fiveDomEvents.addEventListener(i, "unHover", () => i.unhighlight());
122
- const a = new F({
118
+ }), this.fiveDomEvents.addEventListener(o, "hover", () => o.highlight()), this.fiveDomEvents.addEventListener(o, "unHover", () => o.unhighlight());
119
+ const s = new O({
123
120
  five: this.five,
124
- tagWrapper: this.tagWrapper,
125
- model: i,
121
+ model: o,
126
122
  group: this.group,
127
123
  type: t.type,
128
- rawData: t
124
+ rawData: t,
125
+ tagContainerZIndex: i
129
126
  });
130
- this.items.push(a);
127
+ this.items.push(s);
131
128
  } else if (t.type === "prism") {
132
- const i = new x();
133
- this.zFightingOffset += 1e-4;
134
- const a = t.object_data.points.map((m) => {
135
- var c;
136
- return [m[0], m[1] + ((c = t.object_data.fixedY) != null ? c : 0), m[2]];
137
- }), r = t.object_data.height + ((l = t.object_data.fixedHeight) != null ? l : 0) + this.zFightingOffset, d = I(a[0]).add(new h.Vector3().setY(r));
138
- i.setPoints({ points: a, heightPoint: d }), i.setStyle({
129
+ const o = new j();
130
+ this.zFightingOffset += 1e-4, o.setPoints({
131
+ points: t.object_data.points.map((a) => {
132
+ var b;
133
+ return [a[0], a[1] + ((b = t.object_data.fixedY) != null ? b : 0), a[2]];
134
+ }),
135
+ heightPoint: T(t.object_data.points[0]).add(new h.Vector3().setY(t.object_data.height + ((c = t.object_data.fixedHeight) != null ? c : 0))).add(new h.Vector3().setY(this.zFightingOffset))
136
+ }), o.setStyle({
139
137
  color: t.object_data.color,
140
138
  opacity: t.object_data.opacity,
141
139
  lineColor: t.object_data.color,
142
140
  occlusionVisibility: !1
143
141
  });
144
- const u = new H({
142
+ const s = new L({
145
143
  five: this.five,
146
- tagWrapper: this.tagWrapper,
147
- model: i,
144
+ model: o,
148
145
  group: this.group,
149
146
  type: t.type,
150
- rawData: t
147
+ rawData: t,
148
+ tagContainerZIndex: i
151
149
  });
152
- this.items.push(u);
150
+ this.items.push(s);
153
151
  } else if (t.type === "box") {
154
- const i = new x(), { start: a, end: r, rotation: d = [0, 0, 0, 0], opacity: u, color: m } = t.object_data, c = new h.Vector3().fromArray(a), g = new h.Vector3().fromArray(r), V = new h.Euler().fromArray(d), y = new h.Quaternion().setFromEuler(V), v = y.clone().inverse(), _ = new h.Vector3().lerpVectors(c, g, 0.5), w = _.clone().negate(), E = c.clone().add(w).applyQuaternion(v), M = g.clone().add(w).applyQuaternion(v), b = new h.Box3(E.clone().max(M), E.clone().min(M));
155
- i.setPoints({
156
- points: [f(b, 2), f(b, 3), f(b, 7), f(b, 6)],
157
- heightPoint: f(b, 0)
158
- }), i.position.copy(_), i.quaternion.copy(y), i.setStyle({ color: m, opacity: u, lineColor: m, occlusionVisibility: !1 });
159
- const k = new D({
152
+ const o = new j(), { start: s, end: a, rotation: b = [0, 0, 0, 0], opacity: R, color: f } = t.object_data, u = new h.Vector3().fromArray(s), g = new h.Vector3().fromArray(a), k = new h.Euler().fromArray(b), y = new h.Quaternion().setFromEuler(k), _ = y.clone().inverse(), w = new h.Vector3().lerpVectors(u, g, 0.5), v = w.clone().negate(), E = u.clone().add(v).applyQuaternion(_), x = g.clone().add(v).applyQuaternion(_), p = new h.Box3(E.clone().max(x), E.clone().min(x));
153
+ o.setPoints({
154
+ points: [m(p, 2), m(p, 3), m(p, 7), m(p, 6)],
155
+ heightPoint: m(p, 0)
156
+ }), o.position.copy(w), o.quaternion.copy(y), o.setStyle({ color: f, opacity: R, lineColor: f, occlusionVisibility: !1 });
157
+ const C = new A({
160
158
  five: this.five,
161
- tagWrapper: this.tagWrapper,
162
- model: i,
159
+ model: o,
163
160
  group: this.group,
164
161
  type: t.type,
165
- rawData: t
162
+ rawData: t,
163
+ tagContainerZIndex: i
166
164
  });
167
- this.items.push(k);
165
+ this.items.push(C);
168
166
  }
169
167
  }), this.five.needsRender = !0, this.state.enabled ? this.handleEnable() : this.handleDisable(), this.state.visible ? this.handleShow() : this.handleHide(), this.updateTagRenderer(), this.hooks.emit("dataLoaded", e);
170
168
  });
171
169
  }
172
170
  setState(e) {
173
- j(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), j(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
171
+ V(e.enabled) && this.state.enabled !== e.enabled && (this.state.enabled = e.enabled, e.enabled ? this.handleEnable() : this.handleDisable(), this.hooks.emit(e.enabled ? "enable" : "disable", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" })), V(e.visible) && this.state.visible !== e.visible && (this.state.visible = e.visible, e.visible ? this.handleShow() : this.handleHide(), this.hooks.emit(e.visible ? "show" : "hide", { userAction: "我不知道捏" }), this.hooks.emit("stateChange", { state: this.state, userAction: "我不知道捏" }));
174
172
  }
175
173
  getItemById(e) {
176
- return this.items.find((o) => o.rawData.id === e);
174
+ return this.items.find((i) => i.rawData.id === e);
177
175
  }
178
176
  registerTagRenderer(e) {
179
177
  this.tagRendererMap = e, this.updateTagRenderer();
@@ -197,12 +195,12 @@ class Ge extends C {
197
195
  this.hooks.emit("dispose"), this.handleDisable();
198
196
  }
199
197
  handleShow() {
200
- this.group.visible = !0, this.tagWrapper.style.visibility = "visible", this.five.needsRender = !0;
198
+ this.items.forEach((e) => e.show());
201
199
  }
202
200
  handleHide() {
203
- this.group.visible = !1, this.tagWrapper.style.visibility = "hidden", this.five.needsRender = !0;
201
+ this.items.forEach((e) => e.hide());
204
202
  }
205
203
  }
206
204
  export {
207
- Ge as Controller
205
+ Se as Controller
208
206
  };
@@ -22,6 +22,7 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
22
22
  };
23
23
  protected five: Five;
24
24
  protected group: THREE.Object3D;
25
+ protected enabled: boolean;
25
26
  protected fiveDomEvents: FiveDomEvents;
26
27
  constructor(params: {
27
28
  five: Five;
@@ -29,7 +30,6 @@ export declare class ModelMakerBaseItem extends Subscribe<Event> {
29
30
  group: THREE.Object3D;
30
31
  type: string;
31
32
  rawData?: any;
32
- tagWrapper?: HTMLElement;
33
33
  visibleMode?: Mode[];
34
34
  position?: THREE.Vector3;
35
35
  tagContainerZIndex?: number;
@@ -1,31 +1,32 @@
1
- var d = Object.defineProperty;
2
- var m = (s, t, e) => t in s ? d(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e;
3
- var i = (s, t, e) => (m(s, typeof t != "symbol" ? t + "" : t, e), e);
4
- import * as l from "three";
1
+ var l = Object.defineProperty;
2
+ var m = (s, i, e) => i in s ? l(s, i, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[i] = e;
3
+ var t = (s, i, e) => (m(s, typeof i != "symbol" ? i + "" : i, e), e);
4
+ import * as a from "three";
5
5
  import { addIfNotExists as v } from "../../shared-utils/three/addIfNotExists.js";
6
- import { Subscribe as a } from "../../shared-utils/Subscribe.js";
7
- import { tag as c } from "../../shared-utils/tag.js";
8
- import { boundingBox as p } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
- import { getFiveDomEvent as f } from "../utils/getFiveDomEvent.js";
6
+ import { Subscribe as f } from "../../shared-utils/Subscribe.js";
7
+ import { tag as b } from "../../shared-utils/tag.js";
8
+ import { boundingBox as c } from "../../shared-utils/Object3DHelper/utils/boundingBox.js";
9
+ import { getFiveDomEvent as u } from "../utils/getFiveDomEvent.js";
10
10
  import "../../shared-utils/positionToVector3.js";
11
11
  import "../../shared-utils/five/vector3ToScreen.js";
12
12
  import "../../shared-utils/five/FiveDomEvents.js";
13
13
  import "../../shared-utils/three/getObjectVisible.js";
14
14
  import "../../shared-utils/five/calculateThreeMouse.js";
15
- class B extends a {
15
+ class B extends f {
16
16
  constructor(e) {
17
- var o, r, h;
17
+ var o, r, n, h;
18
18
  super();
19
- i(this, "type");
20
- i(this, "tag");
21
- i(this, "rawData");
22
- i(this, "model");
23
- i(this, "five");
24
- i(this, "group");
25
- i(this, "fiveDomEvents");
26
- this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = f(this.five);
27
- const n = (h = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? h : p(this.model).getCenter(new l.Vector3());
28
- this.tag = c(this.five, n, { wrapper: e.tagWrapper });
19
+ t(this, "type");
20
+ t(this, "tag");
21
+ t(this, "rawData");
22
+ t(this, "model");
23
+ t(this, "five");
24
+ t(this, "group");
25
+ t(this, "enabled", !1);
26
+ t(this, "fiveDomEvents");
27
+ this.five = e.five, this.model = e.model, this.group = e.group, this.type = e.type, this.rawData = e.rawData, this.fiveDomEvents = u(this.five);
28
+ const d = (n = (r = (o = e.position) != null ? o : this.model.worldCenter) != null ? r : this.model.center) != null ? n : c(this.model).getCenter(new a.Vector3());
29
+ this.tag = b(this.five, d, { wrapperStyle: { zIndex: `${(h = e.tagContainerZIndex) != null ? h : ""}` } });
29
30
  }
30
31
  get container() {
31
32
  return this.tag.container;
@@ -33,7 +34,7 @@ class B extends a {
33
34
  get state() {
34
35
  return {
35
36
  visible: this.model.visible,
36
- enabled: this.group.children.includes(this.model)
37
+ enabled: this.enabled
37
38
  };
38
39
  }
39
40
  show() {
@@ -43,12 +44,14 @@ class B extends a {
43
44
  this.tag.hide(), this.model.visible = !1, this.five.needsRender = !0, this.emit("hide");
44
45
  }
45
46
  enable() {
46
- v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
47
+ if (this.enabled)
48
+ return;
49
+ this.enabled = !0, v(this.group, this.model), this.five.needsRender = !0, this.tag.enable();
47
50
  const e = this.onClick.bind(this);
48
51
  this.fiveDomEvents.addEventListener(this.model, "click", e), this.emit("enable");
49
52
  }
50
53
  disable() {
51
- this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable");
54
+ this.enabled && (this.enabled = !1, this.group.remove(this.model), this.five.needsRender = !0, this.tag.disable(), this.fiveDomEvents.removeEventListener(this.model, "click"), this.emit("disable"));
52
55
  }
53
56
  onClick() {
54
57
  return this.emit("click", this);
@@ -70,7 +70,10 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
70
70
  `, o = document.createElement("div");
71
71
  return o.setAttribute("class", "PanoRulerPlugin-rule"), o.setAttribute("data-name", r), o.setAttribute("style", "display: none"), o.innerHTML = c, o;
72
72
  }, h = document.createElement("div");
73
- h.setAttribute("style", "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;");
73
+ h.setAttribute(
74
+ "style",
75
+ "position: absolute;pointer-events: none;width: 100%;height: 100%;left: 0;top: 0;overflow: hidden;"
76
+ );
74
77
  const S = document.createElement("div");
75
78
  S.innerHTML = ce, h.appendChild(S);
76
79
  const l = {}, u = (r, a) => {
@@ -126,7 +129,9 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
126
129
  const o = r || n.roomInfo, i = a || n.roomRules;
127
130
  if (!o || !i)
128
131
  throw new Error("标尺数据依赖不齐全!");
129
- return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise((y) => t.once("modelLoaded", () => y(u(o, i))));
132
+ return e.loaded = !1, e.options = B(B({}, e.options), c || {}), t.model.loaded ? u(o, i) : yield new Promise(
133
+ (y) => t.once("modelLoaded", () => y(u(o, i)))
134
+ );
130
135
  });
131
136
  n.roomInfo && n.roomRules && x(n.roomInfo, n.roomRules);
132
137
  const v = (r, a, c, o) => {
@@ -213,29 +218,24 @@ const ue = (t, n) => Math.sqrt(Math.pow(t.z - n.z, 2) + Math.pow(t.x - n.x, 2)),
213
218
  continue;
214
219
  }
215
220
  const K = w.distanceTo(_);
216
- if (_.clone().sub(
217
- _.clone().sub(w).divide(new L(2, 2, 2))
218
- ).distanceTo(y) / K > 8) {
221
+ if (_.clone().sub(_.clone().sub(w).divide(new L(2, 2, 2))).distanceTo(y) / K > 8) {
219
222
  g.style.display = "none";
220
223
  continue;
221
224
  }
222
225
  const O = w.clone().project(c), R = (O.x + 1) / 2 * m, F = (-O.y + 1) / 2 * d, V = _.clone().project(c), N = (V.x + 1) / 2 * m, D = (-V.y + 1) / 2 * d, E = Math.sqrt(Math.pow(N - R, 2) + Math.pow(D - F, 2));
223
226
  let H = E, z = 50;
224
- const M = v(
225
- { x: ~~R, y: ~~F },
226
- {
227
- x: ~~N,
228
- y: ~~D
229
- },
230
- m,
231
- d
232
- );
227
+ const M = v({ x: ~~R, y: ~~F }, {
228
+ x: ~~N,
229
+ y: ~~D
230
+ }, m, d);
233
231
  if (M && M.length === 1 && (f === w ? (H = Math.sqrt(Math.pow(M[0].x - R, 2) + Math.pow(M[0].y - F, 2)), z = H / E * 50) : f === _ && (H = Math.sqrt(Math.pow(M[0].x - N, 2) + Math.pow(M[0].y - D, 2)), z = 100 - H / E * 50)), M && M.length === 2) {
234
232
  const G = {
235
233
  x: (M[0].x + M[1].x) / 2,
236
234
  y: (M[0].y + M[1].y) / 2
237
235
  };
238
- z = Math.sqrt(Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)) / E * 100;
236
+ z = Math.sqrt(
237
+ Math.pow(G.x - R, 2) + Math.pow(G.y - F, 2)
238
+ ) / E * 100;
239
239
  }
240
240
  const te = (Math.PI / 2 - Math.atan2(N - R, F - D)) / Math.PI * 180, W = T.querySelector(".PanoRulerPlugin-rule-label"), U = W.children[0].clientWidth;
241
241
  U >= E || U / 2 >= z / 100 * E || U / 2 >= (1 - z / 100) * E ? T.style.display = "none" : (T.style.display = "block", T.style.width = E + "px", T.style.left = R + "px", T.style.top = F + "px", T.style.transform = `rotate(${-te}deg)`, W.style.left = `${z}%`);
@@ -89,6 +89,8 @@ class ni extends W {
89
89
  * @description 获取是否可见
90
90
  */
91
91
  getVisible(e, i) {
92
+ if (!e.enabled)
93
+ return !1;
92
94
  const s = h(h({}, this.five.getCurrentState()), i), { panoIndex: t, mode: r } = s, n = x(r) ? this.getPanoIndexCache({ panoIndex: t, id: e.id }) : void 0;
93
95
  if ((n == null ? void 0 : n.visible) !== void 0)
94
96
  return n.visible;
@@ -35,6 +35,8 @@ export declare abstract class TagRender extends TagComputer {
35
35
  * @description 更新所有标签
36
36
  */
37
37
  protected updateRenderAllTags(): void;
38
+ protected updateAllTagsNextFrame(): void;
39
+ protected updateTag(tag: TagInstance): void;
38
40
  protected updateRenderVideoPlane(): void;
39
41
  /**
40
42
  * @description 渲染图片贴片
@@ -68,7 +70,6 @@ export declare abstract class TagRender extends TagComputer {
68
70
  * @description 渲染单个点的标签
69
71
  */
70
72
  protected updateRenderPointTag(): void;
71
- protected updatePointTagPosition(): void;
72
73
  protected updateTagContainerVisible(): void;
73
74
  protected disposeAllCSS3DContainer(): void;
74
75
  /**