@realsee/dnalogel 3.37.2 → 3.38.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 (404) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/dist/ModelMakerPlugin/Controller.d.ts +8 -1
  3. package/dist/ModelMakerPlugin/index.d.ts +1 -0
  4. package/dist/Sculpt/Meshes/Box.d.ts +1 -0
  5. package/dist/Sculpt/Meshes/Line.d.ts +2 -0
  6. package/dist/Sculpt/Meshes/Polyline.d.ts +1 -0
  7. package/dist/Sculpt/Objects/Base/index.d.ts +6 -0
  8. package/dist/Sculpt/utils/color.d.ts +7 -1
  9. package/dist/Sculpt/utils/three/ColoredMesh.d.ts +3 -0
  10. package/dist/index.cjs.js +25 -25
  11. package/dist/index.js +642 -602
  12. package/dist/index.umd.js +21 -21
  13. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +3 -3
  14. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +3 -3
  15. package/docs/classes/CSS3DRender.html +3 -3
  16. package/docs/classes/GuideLineItem.GuideLineItem.html +3 -3
  17. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +3 -3
  18. package/docs/classes/ModelMakerPluginInstance.html +26 -16
  19. package/docs/classes/ModelRoomLabelController.html +3 -3
  20. package/docs/classes/MoveController.html +3 -3
  21. package/docs/classes/Object3DHelperController.html +3 -3
  22. package/docs/classes/PaintBrush.html +3 -3
  23. package/docs/classes/PanoMeasurePluginLine.html +3 -3
  24. package/docs/classes/PanoMeasurePluginModel.html +3 -3
  25. package/docs/classes/PanoMeasurePluginPoint.html +3 -3
  26. package/docs/classes/PanoMeasurePluginPolyline.html +3 -3
  27. package/docs/classes/PanoTagPluginController.html +3 -3
  28. package/docs/classes/Sculpt.html +3 -3
  29. package/docs/classes/Util.BetterTween.html +3 -3
  30. package/docs/classes/Util.Interval.html +3 -3
  31. package/docs/classes/Util.LineSegments.html +3 -3
  32. package/docs/classes/Util.Magnifier.html +3 -3
  33. package/docs/classes/Util.Object3D.html +3 -3
  34. package/docs/classes/Util.PointDomHelper.html +3 -3
  35. package/docs/classes/Util.PointHelper.html +3 -3
  36. package/docs/classes/Util.PointSelectorHelper.html +3 -3
  37. package/docs/classes/Util.Rectangle.html +3 -3
  38. package/docs/classes/WalkController.html +3 -3
  39. package/docs/enums/CameraMovementEffect.html +3 -3
  40. package/docs/enums/ContentType.html +3 -3
  41. package/docs/enums/DIRECTION.html +3 -3
  42. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +3 -3
  43. package/docs/enums/DimensionType.html +3 -3
  44. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +3 -3
  45. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +3 -3
  46. package/docs/enums/PaintBrushTypeEnum.html +3 -3
  47. package/docs/enums/PointType.html +3 -3
  48. package/docs/enums/Rotation.html +3 -3
  49. package/docs/functions/AreaMakerPlugin.html +3 -3
  50. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  51. package/docs/functions/CameraMovementPlugin.html +3 -3
  52. package/docs/functions/CruisePlugin.html +3 -3
  53. package/docs/functions/CurrentPanoImagePlugin.html +3 -3
  54. package/docs/functions/GuideLinePlugin.html +3 -3
  55. package/docs/functions/ItemLabelPlugin.html +3 -3
  56. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  57. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  58. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  59. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  60. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  61. package/docs/functions/ModelMakerPlugin.html +4 -4
  62. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  63. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  64. package/docs/functions/ModelViewPlugin.html +3 -3
  65. package/docs/functions/MovePlugin.html +3 -3
  66. package/docs/functions/Object3DHelperPlugin.html +3 -3
  67. package/docs/functions/PanoCompassPlugin.html +3 -3
  68. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  69. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  70. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  71. package/docs/functions/PanoMeasurePlugin.html +3 -3
  72. package/docs/functions/PanoRulerPlugin.html +3 -3
  73. package/docs/functions/PanoRulerProPlugin.html +3 -3
  74. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  75. package/docs/functions/PanoTagPlugin.html +3 -3
  76. package/docs/functions/PanoVideoPlugin.html +3 -3
  77. package/docs/functions/PipelinePlugin.html +3 -3
  78. package/docs/functions/SculptPlugin.html +3 -3
  79. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  80. package/docs/functions/Util.absoluteUrl.html +3 -3
  81. package/docs/functions/Util.awaitNextFrame.html +3 -3
  82. package/docs/functions/Util.blink.html +3 -3
  83. package/docs/functions/Util.checkFiveModelLoaded.html +3 -3
  84. package/docs/functions/Util.equal.html +3 -3
  85. package/docs/functions/Util.getCoordsFromClient.html +3 -3
  86. package/docs/functions/Util.getCoordsFromElement.html +3 -3
  87. package/docs/functions/Util.getFrameTime.html +3 -3
  88. package/docs/functions/Util.getIntersectFromRelativePosition.html +3 -3
  89. package/docs/functions/Util.getRaycasterFromFivePointer.html +3 -3
  90. package/docs/functions/Util.isAbsoluteURL.html +3 -3
  91. package/docs/functions/Util.isModelLike.html +3 -3
  92. package/docs/functions/Util.isNil.html +3 -3
  93. package/docs/functions/Util.isPanoramaLike.html +3 -3
  94. package/docs/functions/Util.nextFrame.html +3 -3
  95. package/docs/functions/Util.notNil.html +3 -3
  96. package/docs/functions/Util.reblink.html +3 -3
  97. package/docs/functions/Util.requestAnimationFrameInterval.html +3 -3
  98. package/docs/functions/Util.tweenProgress.html +3 -3
  99. package/docs/functions/Util.uuid.html +3 -3
  100. package/docs/functions/pluginFlag.html +3 -3
  101. package/docs/index.html +4 -4
  102. package/docs/interfaces/AddTagConfig.html +3 -3
  103. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +3 -3
  104. package/docs/interfaces/AreaMakerPluginType.Config.html +3 -3
  105. package/docs/interfaces/AreaMakerPluginType.EventMap.html +3 -3
  106. package/docs/interfaces/AreaMakerPluginType.Params.html +3 -3
  107. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +3 -3
  108. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +3 -3
  109. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +3 -3
  110. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -3
  111. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -3
  112. package/docs/interfaces/AreaMakerPluginType.State.html +3 -3
  113. package/docs/interfaces/CSS3DRenderPluginEventMap.html +3 -3
  114. package/docs/interfaces/CSS3DRenderPluginState.html +3 -3
  115. package/docs/interfaces/CameraMovementPluginExportType.html +3 -3
  116. package/docs/interfaces/ContentTypeMapInterface.html +3 -3
  117. package/docs/interfaces/CruisePluginTypes.Config.html +3 -3
  118. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +3 -3
  119. package/docs/interfaces/CruisePluginTypes.EventMap.html +3 -3
  120. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +3 -3
  121. package/docs/interfaces/CruisePluginTypes.MoveAction.html +3 -3
  122. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +3 -3
  123. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +3 -3
  124. package/docs/interfaces/CruisePluginTypes.PluginData.html +3 -3
  125. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +3 -3
  126. package/docs/interfaces/CruisePluginTypes.PluginState.html +3 -3
  127. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +3 -3
  128. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +3 -3
  129. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +3 -3
  130. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -3
  131. package/docs/interfaces/CurrentPanoImagePluginType.State.html +3 -3
  132. package/docs/interfaces/EventMap.html +3 -3
  133. package/docs/interfaces/FloorplanBounding.html +3 -3
  134. package/docs/interfaces/FloorplanData.html +3 -3
  135. package/docs/interfaces/FloorplanEntrance.html +3 -3
  136. package/docs/interfaces/FloorplanExtraObject.html +3 -3
  137. package/docs/interfaces/FloorplanExtraObject3D.html +3 -3
  138. package/docs/interfaces/FloorplanFloorData.html +3 -3
  139. package/docs/interfaces/FloorplanImagePosition.html +3 -3
  140. package/docs/interfaces/FloorplanObserver.html +3 -3
  141. package/docs/interfaces/FloorplanOutlineItem.html +3 -3
  142. package/docs/interfaces/FloorplanPosition.html +3 -3
  143. package/docs/interfaces/FloorplanRoomItem.html +3 -3
  144. package/docs/interfaces/FloorplanRoomLabelItem.html +3 -3
  145. package/docs/interfaces/FloorplanServerBounding.html +3 -3
  146. package/docs/interfaces/FloorplanServerComputedData.html +3 -3
  147. package/docs/interfaces/FloorplanServerData.html +3 -3
  148. package/docs/interfaces/FloorplanServerDoorItem.html +3 -3
  149. package/docs/interfaces/FloorplanServerDoorPosition.html +3 -3
  150. package/docs/interfaces/FloorplanServerEntrance.html +3 -3
  151. package/docs/interfaces/FloorplanServerFloorData.html +3 -3
  152. package/docs/interfaces/FloorplanServerImagePosition.html +3 -3
  153. package/docs/interfaces/FloorplanServerObserver.html +3 -3
  154. package/docs/interfaces/FloorplanServerOutlineItem.html +3 -3
  155. package/docs/interfaces/FloorplanServerPosition.html +3 -3
  156. package/docs/interfaces/FloorplanServerRoomItem.html +3 -3
  157. package/docs/interfaces/FloorplanServerRoomLabelItem.html +3 -3
  158. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +3 -3
  159. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +3 -3
  160. package/docs/interfaces/GuideLinePluginType.EventMap.html +3 -3
  161. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +3 -3
  162. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +3 -3
  163. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +3 -3
  164. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +3 -3
  165. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +3 -3
  166. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +3 -3
  167. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -3
  168. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +3 -3
  169. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +3 -3
  170. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +3 -3
  171. package/docs/interfaces/GuideLinePluginType.PluginState.html +3 -3
  172. package/docs/interfaces/GuideLinePluginType.Route.html +3 -3
  173. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +3 -3
  174. package/docs/interfaces/HelperOffset.html +3 -3
  175. package/docs/interfaces/ImagePlaneGroup.html +3 -3
  176. package/docs/interfaces/ItemLabelPluginData.html +3 -3
  177. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +3 -3
  178. package/docs/interfaces/ItemLabelPluginParametersType.html +3 -3
  179. package/docs/interfaces/MinMax.html +3 -3
  180. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -3
  181. package/docs/interfaces/ModelChassisCompassPluginExportType.html +3 -3
  182. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -3
  183. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +3 -3
  184. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +3 -3
  185. package/docs/interfaces/ModelItemLabelPluginData.html +3 -3
  186. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +3 -3
  187. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -3
  188. package/docs/interfaces/ModelMakerPluginType.EventMap.html +3 -3
  189. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +3 -3
  190. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +3 -3
  191. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -3
  192. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +3 -3
  193. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +3 -3
  194. package/docs/interfaces/ModelMakerPluginType.State.html +3 -3
  195. package/docs/interfaces/ModelRoomLabelPluginData.html +3 -3
  196. package/docs/interfaces/ModelTVVideoPluginData.html +3 -3
  197. package/docs/interfaces/ModelTVVideoPluginExportType.html +3 -3
  198. package/docs/interfaces/ModelTVVideoPluginParameterType.html +3 -3
  199. package/docs/interfaces/ModelViewPluginExportType.html +3 -3
  200. package/docs/interfaces/Object3DHelperState.html +3 -3
  201. package/docs/interfaces/ObjectHelperControllers.html +3 -3
  202. package/docs/interfaces/PaintBrushAction.html +3 -3
  203. package/docs/interfaces/PaintBrushConfigs.html +3 -3
  204. package/docs/interfaces/PaintBrushState.html +3 -3
  205. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +3 -3
  206. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +3 -3
  207. package/docs/interfaces/PanoMeasureParameterType.html +3 -3
  208. package/docs/interfaces/PanoMeasurePluginLineJson.html +3 -3
  209. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +3 -3
  210. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -3
  211. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +3 -3
  212. package/docs/interfaces/PanoRulerPluginExportType.html +3 -3
  213. package/docs/interfaces/PanoRulerPluginOptions.html +3 -3
  214. package/docs/interfaces/PanoRulerPluginParameterType.html +3 -3
  215. package/docs/interfaces/PanoRulerProPluginExportType.html +3 -3
  216. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -3
  217. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -3
  218. package/docs/interfaces/PanoRulerProPluginState.html +3 -3
  219. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +3 -3
  220. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +3 -3
  221. package/docs/interfaces/PanoSpatialTagPluginData.html +3 -3
  222. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +3 -3
  223. package/docs/interfaces/PanoSpatialTagPluginExportType.html +3 -3
  224. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +3 -3
  225. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +3 -3
  226. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +3 -3
  227. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +3 -3
  228. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -3
  229. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +3 -3
  230. package/docs/interfaces/PanoVideoPluginType.PluginData.html +3 -3
  231. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +3 -3
  232. package/docs/interfaces/PanoVideoPluginType.PluginState.html +3 -3
  233. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +3 -3
  234. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +3 -3
  235. package/docs/interfaces/Point.html +3 -3
  236. package/docs/interfaces/Room.html +3 -3
  237. package/docs/interfaces/RoomInfo.html +3 -3
  238. package/docs/interfaces/RoomLabel.html +3 -3
  239. package/docs/interfaces/RoomRules.html +3 -3
  240. package/docs/interfaces/Rooms.html +3 -3
  241. package/docs/interfaces/Scissor.html +3 -3
  242. package/docs/interfaces/State.html +3 -3
  243. package/docs/interfaces/TagCacheInterface.html +3 -3
  244. package/docs/interfaces/TagConfig.html +3 -3
  245. package/docs/interfaces/TagGLTFObjectGroup.html +3 -3
  246. package/docs/interfaces/TagIconUrl.html +3 -3
  247. package/docs/interfaces/TagObjectGroup.html +3 -3
  248. package/docs/interfaces/TagStyle.html +3 -3
  249. package/docs/interfaces/Tags.html +3 -3
  250. package/docs/interfaces/TemporaryState.html +3 -3
  251. package/docs/interfaces/Util.BlinkAnimeOptions.html +3 -3
  252. package/docs/interfaces/Util.MagnifierParameter.html +3 -3
  253. package/docs/interfaces/Util.MouseGroupParameter.html +3 -3
  254. package/docs/interfaces/Util.PointIntersection.html +3 -3
  255. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +3 -3
  256. package/docs/modules/AreaMakerPluginType.html +3 -3
  257. package/docs/modules/CruisePluginTypes.html +3 -3
  258. package/docs/modules/CurrentPanoImagePluginType.html +3 -3
  259. package/docs/modules/GuideLineItem.html +3 -3
  260. package/docs/modules/GuideLineModeItem.html +3 -3
  261. package/docs/modules/GuideLinePluginType.html +3 -3
  262. package/docs/modules/ModelMakerPluginType.html +3 -3
  263. package/docs/modules/PanoVideoPluginType.html +3 -3
  264. package/docs/modules/SculptData.html +3 -3
  265. package/docs/modules/Util.html +3 -3
  266. package/docs/modules.html +4 -4
  267. package/docs/types/AddObject3DHelperConfig.html +3 -3
  268. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +3 -3
  269. package/docs/types/AreaMakerPluginType.ItemRenderer.html +3 -3
  270. package/docs/types/AreaMakerPluginType.PluginData.html +3 -3
  271. package/docs/types/AreaMakerPluginType.ServerData.html +3 -3
  272. package/docs/types/ArrayPosition.html +3 -3
  273. package/docs/types/AudioAppearance.html +3 -3
  274. package/docs/types/CSS3DRenderExportType.html +3 -3
  275. package/docs/types/CSS3DRenderPluginExportType.html +3 -3
  276. package/docs/types/CSS3DRenderPluginParameterType.html +3 -3
  277. package/docs/types/ClassFunctionParameters.html +3 -3
  278. package/docs/types/Color.html +3 -3
  279. package/docs/types/ContentTypeConfigKey.html +3 -3
  280. package/docs/types/ContentTypeConfigKeySplit.html +3 -3
  281. package/docs/types/ContentTypeMap.html +3 -3
  282. package/docs/types/Create3DDomContainerReturnType.html +3 -3
  283. package/docs/types/Create3DElementReturnType.html +3 -3
  284. package/docs/types/CruisePluginExportType.html +3 -3
  285. package/docs/types/CruisePluginTypes.CruiseData.html +3 -3
  286. package/docs/types/CruisePluginTypes.MoveEffect.html +3 -3
  287. package/docs/types/CurrentPanoImagePluginExportType.html +3 -3
  288. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -3
  289. package/docs/types/DeprecatedTagProperty.html +3 -3
  290. package/docs/types/Direction-1.html +3 -3
  291. package/docs/types/Direction4.html +3 -3
  292. package/docs/types/ElementRenderer.html +3 -3
  293. package/docs/types/FloorplanRuleLabels.html +3 -3
  294. package/docs/types/FloorplanServerRuleLabels.html +3 -3
  295. package/docs/types/GuideLinePluginExportType.html +3 -3
  296. package/docs/types/GuideLinePluginType.GuideLineItem.html +3 -3
  297. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +3 -3
  298. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +3 -3
  299. package/docs/types/GuideLinePluginType.GuideLineStyle.html +3 -3
  300. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +3 -3
  301. package/docs/types/GuideLinePluginType.PathItem.html +3 -3
  302. package/docs/types/GuideLinePluginType.PluginData.html +3 -3
  303. package/docs/types/HelperEventMap.html +3 -3
  304. package/docs/types/InternalHelperEventMap.html +3 -3
  305. package/docs/types/LoadTagConfig.html +3 -3
  306. package/docs/types/MapviewFloorplanPluginParameterType.html +3 -3
  307. package/docs/types/MapviewFloorplanPluginReturnType.html +3 -3
  308. package/docs/types/MediaData.html +3 -3
  309. package/docs/types/MediaStore.html +3 -3
  310. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +3 -3
  311. package/docs/types/ModelFloorplanPluginParameterType.html +3 -3
  312. package/docs/types/ModelFloorplanPluginReturnType.html +3 -3
  313. package/docs/types/ModelId.html +3 -3
  314. package/docs/types/ModelMakerPluginType.ElementRenderer.html +3 -3
  315. package/docs/types/ModelMakerPluginType.ItemType.html +3 -3
  316. package/docs/types/ModelRoomLabelPluginParameters.html +3 -3
  317. package/docs/types/ModelRoomLabelPluginReturnType.html +3 -3
  318. package/docs/types/MoveArgs.html +3 -3
  319. package/docs/types/MoveOpts.html +3 -3
  320. package/docs/types/Object3DHelperEventMap.html +3 -3
  321. package/docs/types/ObjectFit.html +3 -3
  322. package/docs/types/PaintBrushEventMap.html +3 -3
  323. package/docs/types/PanoCompassPluginData.html +3 -3
  324. package/docs/types/PanoCompassPluginExportType.html +3 -3
  325. package/docs/types/PanoCompassPluginParameterType.html +3 -3
  326. package/docs/types/PanoFloorplanRadarPluginParameterType.html +3 -3
  327. package/docs/types/PanoFloorplanRadarPluginReturnType.html +3 -3
  328. package/docs/types/PanoIndex.html +3 -3
  329. package/docs/types/PanoMeasurePluginEvent.html +3 -3
  330. package/docs/types/PanoMeasureReturnType.html +3 -3
  331. package/docs/types/PanoSpatialTagPluginId.html +3 -3
  332. package/docs/types/PanoTagPluginExportInterface.html +3 -3
  333. package/docs/types/PanoTagPluginParamsInterface.html +3 -3
  334. package/docs/types/PanoVideoPluginParameterType.html +3 -3
  335. package/docs/types/PanoVideoPluginReturnType.html +3 -3
  336. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +3 -3
  337. package/docs/types/PipelinePluginParameterType.html +3 -3
  338. package/docs/types/PipelinePluginReturnType.html +3 -3
  339. package/docs/types/PlaneTag.html +3 -3
  340. package/docs/types/Point2DTag.html +3 -3
  341. package/docs/types/Point3DTag.html +3 -3
  342. package/docs/types/PointTag.html +3 -3
  343. package/docs/types/PointTagInstance.html +3 -3
  344. package/docs/types/Position.html +3 -3
  345. package/docs/types/PositionFrom.html +3 -3
  346. package/docs/types/RotateArgs.html +3 -3
  347. package/docs/types/RotateOpts.html +3 -3
  348. package/docs/types/RuleLabelsKey.html +3 -3
  349. package/docs/types/RuleLabelsValue.html +3 -3
  350. package/docs/types/ScaleCallback.html +3 -3
  351. package/docs/types/ScalePosition.html +3 -3
  352. package/docs/types/SculptData.BoxData.html +3 -3
  353. package/docs/types/SculptData.CircleData.html +3 -3
  354. package/docs/types/SculptData.CylinderData.html +3 -3
  355. package/docs/types/SculptData.PointData.html +3 -3
  356. package/docs/types/SculptData.PolygonData.html +3 -3
  357. package/docs/types/SculptData.PolylineData.html +3 -3
  358. package/docs/types/SculptData.PrismData.html +3 -3
  359. package/docs/types/SculptData.RectangleData.html +3 -3
  360. package/docs/types/StickType.html +3 -3
  361. package/docs/types/Tag.html +3 -3
  362. package/docs/types/Tag2D.html +3 -3
  363. package/docs/types/Tag3D.html +3 -3
  364. package/docs/types/TagConfigByKey.html +3 -3
  365. package/docs/types/TagContentType.html +3 -3
  366. package/docs/types/TagContentTypeMapping.html +3 -3
  367. package/docs/types/TagDimensionType.html +3 -3
  368. package/docs/types/TagElement.html +3 -3
  369. package/docs/types/TagEvents.html +3 -3
  370. package/docs/types/TagGLTFObject.html +3 -3
  371. package/docs/types/TagHooks.html +3 -3
  372. package/docs/types/TagId.html +3 -3
  373. package/docs/types/TagInstance.html +3 -3
  374. package/docs/types/TagPointType.html +3 -3
  375. package/docs/types/TagRendererMap.html +3 -3
  376. package/docs/types/TopviewFloorplanPluginParameterType.html +3 -3
  377. package/docs/types/TopviewFloorplanPluginReturnType.html +3 -3
  378. package/docs/types/WorkCode.html +3 -3
  379. package/docs/variables/FLOOR_TYPE_MAP.html +3 -3
  380. package/docs/variables/PLUGIN.html +3 -3
  381. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +3 -3
  382. package/docs/variables/ROOM_TYPE_MAP.html +3 -3
  383. package/docs/variables/defaultGlobalConfig.html +3 -3
  384. package/docs/variables/itemLabelPluginServerParams.html +3 -3
  385. package/docs/variables/modelItemLabelPluginServerParams.html +3 -3
  386. package/docs/variables/modelRoomLabelPluginServerParams.html +3 -3
  387. package/libs/ModelMakerPlugin/Controller.d.ts +8 -1
  388. package/libs/ModelMakerPlugin/Controller.js +111 -99
  389. package/libs/ModelMakerPlugin/index.d.ts +1 -0
  390. package/libs/Sculpt/Meshes/Box.d.ts +1 -0
  391. package/libs/Sculpt/Meshes/Box.js +22 -17
  392. package/libs/Sculpt/Meshes/Line.d.ts +2 -0
  393. package/libs/Sculpt/Meshes/Line.js +56 -39
  394. package/libs/Sculpt/Meshes/Point.js +31 -31
  395. package/libs/Sculpt/Meshes/Polyline.d.ts +1 -0
  396. package/libs/Sculpt/Meshes/Polyline.js +41 -36
  397. package/libs/Sculpt/Objects/Base/index.d.ts +6 -0
  398. package/libs/Sculpt/Objects/Base/index.js +25 -25
  399. package/libs/Sculpt/utils/color.d.ts +7 -1
  400. package/libs/Sculpt/utils/three/ColoredMesh.d.ts +3 -0
  401. package/libs/Sculpt/utils/three/ColoredMesh.js +44 -25
  402. package/libs/base/BasePlugin.js +1 -1
  403. package/libs/shared-utils/logger.js +1 -1
  404. package/package.json +1 -1
@@ -1,57 +1,57 @@
1
- var N = Object.defineProperty, P = Object.defineProperties;
2
- var a = Object.getOwnPropertyDescriptors;
3
- var w = Object.getOwnPropertySymbols;
4
- var B = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var c = (e, i, t) => i in e ? N(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, g = (e, i) => {
6
- for (var t in i || (i = {}))
7
- B.call(i, t) && c(e, t, i[t]);
8
- if (w)
9
- for (var t of w(i))
10
- b.call(i, t) && c(e, t, i[t]);
11
- return e;
12
- }, u = (e, i) => P(e, a(i));
13
- var A = (e, i, t) => (c(e, typeof i != "symbol" ? i + "" : i, t), t);
1
+ var C = Object.defineProperty, N = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
+ var M = Object.getOwnPropertySymbols;
4
+ var k = Object.prototype.hasOwnProperty, B = Object.prototype.propertyIsEnumerable;
5
+ var n = (i, e, t) => e in i ? C(i, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : i[e] = t, c = (i, e) => {
6
+ for (var t in e || (e = {}))
7
+ k.call(e, t) && n(i, t, e[t]);
8
+ if (M)
9
+ for (var t of M(e))
10
+ B.call(e, t) && n(i, t, e[t]);
11
+ return i;
12
+ }, g = (i, e) => N(i, P(e));
13
+ var A = (i, e, t) => (n(i, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as o from "three";
15
- import { DEFAULT_HIGHLIGHT_OPACITY as k } from "../utils/color.js";
15
+ import { DEFAULT_HIGHLIGHT_OPACITY as b } from "../utils/color.js";
16
16
  import { IObject3D as E } from "../../shared-utils/three/IObject3D.js";
17
- import { anyPositionToVector3 as F } from "../../shared-utils/positionToVector3.js";
17
+ import { anyPositionToVector3 as m } from "../../shared-utils/positionToVector3.js";
18
18
  import "hammerjs";
19
19
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
20
20
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
21
21
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
22
22
  import "animejs";
23
- import { notNil as l } from "../../shared-utils/isNil.js";
24
- const I = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
25
- let M = null;
26
- class m extends E {
23
+ import { notNil as u } from "../../shared-utils/isNil.js";
24
+ const F = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sHDgwCEMBJZu0AAAAdaVRYdENvbW1lbnQAAAAAAENyZWF0ZWQgd2l0aCBHSU1QZC5lBwAABM5JREFUWMO1V0tPG2cUPZ4Hxh6DazIOrjFNqJs0FIMqWFgWQkatsmvVbtggKlSVRVf5AWz4AWz4AUSKEChll19QJYSXkECuhFxsHjEhxCYm+DWGMZ5HF72DJq4bAzFXurI0M/I5997v3u9cC65vTJVn2lX/xHINQOYSBLTLEuIuCWw4Z3IGAEvf6ASmVHjNzHCXBG4A0AjACsAOwEbO0nsFQBnAGYASAIl+ZRMR7SolMEdsByD09fV5R0ZGgg8ePPjW5/N1iqLYpuu6RZblciKR2I9Go69evnwZnZ+fjwI4IS8AKBIRzeQfJWCANwKwh0KhtrGxsYehUOin1tbW+zzP23ietzY2NnIAoGmaLsuyUiqVyvl8XtrY2NiamZn589mzZxsAUgCOAeQAnFI2tI+VxIjaAeDzoaGh7xYWFuZOTk6OZVk+12uYqqq6JEnn0Wg0OT4+/geAXwGEAdwDIFJQXC1wO4DWR48e/RCPxxclSSroVzRFUbSDg4P848ePFwH8DuAhkWih83TRQWxFOXgAwvDwcOfo6OhvXV1d39tsNtuVBwTDWBwOh1UUxVsMw1hXVlbSdCgNV43uYSvrHg6H24aHh38eHBz85TrgF9FYLHA4HLzH43FvbW2d7u/vG+dANp8FpqIlbd3d3V8Fg8EfBUFw4BONZVmL3+9vHhkZCQL4AoAHgJPK8G+yzC0XDofdoVAo5PP5vkadTBAEtr+/39ff3x8gAp/RPOEqx2qjx+NpvXv3bk9DQ0NDvQgwDIOWlhZrMBj8kgi0UJdxRgYMArzL5XJ7vd57qLPZ7Xamp6fnNgBXtQxcjFuHw+Hyer3t9SYgCAITCAScAJoBNNEY/08GOFVVrfVMv7kMNDntFD1vjIAPrlRN0xjckOm6biFQ3jwNPwDMZrOnqVTqfb3Bi8Wivru7W/VCYkwPlKOjo0IikXh7EwQikYgE4Nw0CfXKDCipVCoTj8df3QABbW1tLUc6oUgkFPMkVACUNjc337148eKvw8PDbJ2jP1taWkoCyNDVXDSECmNSK4qiKNLq6urW8+fPI/UicHx8rD59+jSVy+WOAKSJhKENwFItLtoxk8mwsixzHR0dHe3t7c5PAU+n09rs7OzJkydPYqVSaQfANoDXALIk31S2smU1TWMPDg7K5XKZ7+3t9TudTut1U7+wsFCcmJiIpdPpbQBxADsAknQWymYCOukBHYCuKApisdhpMpnURFEU79y503TVyKenpzOTk5M7e3t7MQKPV0Zv1gNm+awB0MvlshqLxfLb29uyJElWURSbXC4XXyvqxcXFs6mpqeTc3Nzu3t7e3wQcA7BPZ8Cov1pNlJplmQtAG8MwHV6v95tAINA5MDBwPxAIuLu6upr8fr/VAN3c3JQjkcjZ+vp6fnl5+d2bN29SuVzuNYAEpf01CdRChUL+X1VskHACuA3Ay3Fcu9vt7nA6nZ7m5uYWQRCaNE3jVVW15PP580KhIGUymWw2m00DOAJwSP4WwPtq4LX2Ao6USxNlQyS/RcQcdLGwlNIz6vEMAaZpNzCk2Pll94LK/cDYimxERiBwG10sxjgvEZBE0UpE6vxj+0Ct5bTaXthgEhRmja8QWNkkPGsuIpfdjpkK+cZUWTC0KredVmtD/gdlSl6EG4AMvQAAAABJRU5ErkJggg==";
25
+ let w = null;
26
+ class U extends E {
27
27
  constructor(t) {
28
- var f, V;
28
+ var f, a;
29
29
  super();
30
30
  A(this, "name", "PointMesh");
31
31
  A(this, "opacityBeforeHighlight");
32
32
  A(this, "highlighted", !1);
33
33
  A(this, "fontMesh");
34
34
  A(this, "backgroundMesh");
35
- const n = new o.BufferGeometry();
36
- n.setAttribute("position", new o.Float32BufferAttribute([0, 0, 0], 3));
35
+ const l = new o.BufferGeometry();
36
+ l.setAttribute("position", new o.Float32BufferAttribute([0, 0, 0], 3));
37
37
  const d = {
38
38
  transparent: !0,
39
39
  side: o.DoubleSide,
40
40
  size: (f = t == null ? void 0 : t.size) != null ? f : 8,
41
- map: M || (M = new o.TextureLoader().load(I)),
41
+ map: w || (w = new o.TextureLoader().load(F)),
42
42
  sizeAttenuation: !1
43
- }, r = new o.PointsMaterial(u(g({}, d), {
44
- color: (V = t == null ? void 0 : t.color) != null ? V : 16777215,
43
+ }, r = new o.PointsMaterial(g(c({}, d), {
44
+ color: (a = t == null ? void 0 : t.color) != null ? a : 16777215,
45
45
  depthTest: !0,
46
46
  opacity: 1
47
- })), C = new o.PointsMaterial(u(g({}, d), {
47
+ })), V = new o.PointsMaterial(g(c({}, d), {
48
48
  size: r.size,
49
49
  color: r.color,
50
50
  depthWrite: !1,
51
51
  depthTest: !1,
52
52
  opacity: 0.5
53
- })), s = new o.Points(n, r), h = new o.Points(n, C);
54
- this.fontMesh = s, this.backgroundMesh = h, s.name = "FontMesh", h.name = "BackgroundMesh", s.renderOrder = 10, h.renderOrder = 0, this.add(s, h), t != null && t.point && this.position.copy(F(t.point)), l(t == null ? void 0 : t.occlusionVisibility) && (this.backgroundMesh.visible = t.occlusionVisibility);
53
+ })), s = new o.Points(l, r), h = new o.Points(l, V);
54
+ this.fontMesh = s, this.backgroundMesh = h, s.name = "FontMesh", h.name = "BackgroundMesh", s.renderOrder = 10, h.renderOrder = 0, this.add(s, h), t != null && t.point && this.position.copy(m(t.point)), t && this.setStyle(t);
55
55
  }
56
56
  get color() {
57
57
  return this.fontMesh.material.color;
@@ -60,15 +60,15 @@ class m extends E {
60
60
  return this.fontMesh.material.size;
61
61
  }
62
62
  setStyle(t) {
63
- l(t.color) && (this.fontMesh.material.setValues({ color: t.color }), this.backgroundMesh.material.setValues({ color: t.color })), l(t.size) && (this.fontMesh.material.setValues({ side: t.size }), this.backgroundMesh.material.setValues({ side: t.size })), l(t.occlusionVisibility) && (this.backgroundMesh.visible = t.occlusionVisibility);
63
+ u(t.color) && (this.fontMesh.material.setValues({ color: t.color }), this.backgroundMesh.material.setValues({ color: t.color })), u(t.size) && (this.fontMesh.material.setValues({ side: t.size }), this.backgroundMesh.material.setValues({ side: t.size })), u(t.occlusionVisibility) && (t.occlusionVisibility ? t.occlusionMode === "depthTest" ? (this.fontMesh.material.depthTest = !1, this.backgroundMesh.visible = !1) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !0) : (this.fontMesh.material.depthTest = !0, this.backgroundMesh.visible = !1));
64
64
  }
65
65
  highlight() {
66
- this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * k }));
66
+ this.highlighted || (this.highlighted = !0, this.opacityBeforeHighlight = this.fontMesh.material.opacity, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight * b }));
67
67
  }
68
68
  unhighlight() {
69
69
  this.highlighted && (this.highlighted = !1, this.fontMesh.material.setValues({ opacity: this.opacityBeforeHighlight }));
70
70
  }
71
71
  }
72
72
  export {
73
- m as PointMesh
73
+ U as PointMesh
74
74
  };
@@ -12,6 +12,7 @@ export declare abstract class PolylineBaseMesh extends IObject3D {
12
12
  get lineWidth(): number;
13
13
  get dashed(): boolean;
14
14
  get occlusionVisibility(): boolean;
15
+ get occlusionMode(): "translucence" | "depthTest";
15
16
  get points(): THREE.Vector3[];
16
17
  lines: Array<LineWithDotsMesh>;
17
18
  private withDots;
@@ -1,49 +1,49 @@
1
- var E = Object.defineProperty, v = Object.defineProperties;
2
- var x = Object.getOwnPropertyDescriptors;
1
+ var x = Object.defineProperty, B = Object.defineProperties;
2
+ var T = Object.getOwnPropertyDescriptors;
3
3
  var h = Object.getOwnPropertySymbols;
4
- var D = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
- var y = (s, e, i) => e in s ? E(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i, a = (s, e) => {
4
+ var C = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
5
+ var d = (s, e, i) => e in s ? x(s, e, { enumerable: !0, configurable: !0, writable: !0, value: i }) : s[e] = i, a = (s, e) => {
6
6
  for (var i in e || (e = {}))
7
- D.call(e, i) && y(s, i, e[i]);
7
+ C.call(e, i) && d(s, i, e[i]);
8
8
  if (h)
9
9
  for (var i of h(e))
10
- C.call(e, i) && y(s, i, e[i]);
10
+ w.call(e, i) && d(s, i, e[i]);
11
11
  return s;
12
- }, c = (s, e) => v(s, x(e));
13
- var M = (s, e) => {
12
+ }, c = (s, e) => B(s, T(e));
13
+ var E = (s, e) => {
14
14
  var i = {};
15
15
  for (var t in s)
16
- D.call(s, t) && e.indexOf(t) < 0 && (i[t] = s[t]);
16
+ C.call(s, t) && e.indexOf(t) < 0 && (i[t] = s[t]);
17
17
  if (s != null && h)
18
18
  for (var t of h(s))
19
- e.indexOf(t) < 0 && C.call(s, t) && (i[t] = s[t]);
19
+ e.indexOf(t) < 0 && w.call(s, t) && (i[t] = s[t]);
20
20
  return i;
21
21
  };
22
- var l = (s, e, i) => (y(s, typeof e != "symbol" ? e + "" : e, i), i);
23
- import { anyPositionToVector3 as B } from "../../shared-utils/positionToVector3.js";
24
- import { IObject3D as T } from "../../shared-utils/three/IObject3D.js";
22
+ var l = (s, e, i) => (d(s, typeof e != "symbol" ? e + "" : e, i), i);
23
+ import { anyPositionToVector3 as j } from "../../shared-utils/positionToVector3.js";
24
+ import { IObject3D as F } from "../../shared-utils/three/IObject3D.js";
25
25
  import "hammerjs";
26
- import * as j from "three";
26
+ import * as H from "three";
27
27
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
28
28
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
29
29
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
30
30
  import "animejs";
31
- import { notNil as F } from "../../shared-utils/isNil.js";
32
- import { LineWithDotsMesh as H } from "./LineWithDots.js";
33
- import { closeVectors as I } from "../../shared-utils/three/closeVectors.js";
34
- class w extends T {
31
+ import { notNil as I } from "../../shared-utils/isNil.js";
32
+ import { LineWithDotsMesh as L } from "./LineWithDots.js";
33
+ import { closeVectors as N } from "../../shared-utils/three/closeVectors.js";
34
+ class v extends F {
35
35
  constructor(i) {
36
36
  super();
37
37
  l(this, "name", "PolylineBaseMesh");
38
38
  l(this, "lines", []);
39
39
  l(this, "withDots");
40
40
  l(this, "paramsStyle");
41
- const n = i, { withDots: t, points: o } = n, r = M(n, ["withDots", "points"]);
41
+ const n = i, { withDots: t, points: o } = n, r = E(n, ["withDots", "points"]);
42
42
  this.withDots = t != null ? t : !0, o && this.setPoints(o), r && this.setStyle(r);
43
43
  }
44
44
  get lineColor() {
45
45
  var i, t, o;
46
- return (o = (i = this.lines[0]) == null ? void 0 : i.color) != null ? o : (t = this.paramsStyle) != null && t.lineColor ? new j.Color(this.paramsStyle.lineColor) : void 0;
46
+ return (o = (i = this.lines[0]) == null ? void 0 : i.color) != null ? o : (t = this.paramsStyle) != null && t.lineColor ? new H.Color(this.paramsStyle.lineColor) : void 0;
47
47
  }
48
48
  get lineWidth() {
49
49
  var i, t, o;
@@ -57,29 +57,34 @@ class w extends T {
57
57
  var i, t, o;
58
58
  return (o = (i = this.lines[0]) == null ? void 0 : i.occlusionVisibility) != null ? o : (t = this.paramsStyle) == null ? void 0 : t.occlusionVisibility;
59
59
  }
60
+ get occlusionMode() {
61
+ var i, t, o;
62
+ return (o = (i = this.lines[0]) == null ? void 0 : i.occlusionMode) != null ? o : (t = this.paramsStyle) == null ? void 0 : t.occlusionMode;
63
+ }
60
64
  get points() {
61
65
  var i;
62
66
  return this.lines.map((t) => t.points[0]).concat((i = this.lines.at(-1)) == null ? void 0 : i.points[1]).filter(Boolean);
63
67
  }
64
68
  setPoints(i, t = { closed: !1 }) {
65
- var n, d, u, f, g, P, S, V;
66
- let o = i.map(B);
67
- t.closed && (o = I(o));
69
+ var n, u, y, f, S, g, P, M, V, W;
70
+ let o = i.map(j);
71
+ t.closed && (o = N(o));
68
72
  const r = {
69
- lineWidth: (d = (n = this.paramsStyle) == null ? void 0 : n.lineWidth) != null ? d : this.lineWidth,
70
- lineColor: (f = (u = this.paramsStyle) == null ? void 0 : u.lineColor) != null ? f : this.lineColor,
71
- dashed: (P = (g = this.paramsStyle) == null ? void 0 : g.dashed) != null ? P : this.dashed,
72
- occlusionVisibility: (V = (S = this.paramsStyle) == null ? void 0 : S.occlusionVisibility) != null ? V : this.occlusionVisibility
73
+ lineWidth: (u = (n = this.paramsStyle) == null ? void 0 : n.lineWidth) != null ? u : this.lineWidth,
74
+ lineColor: (f = (y = this.paramsStyle) == null ? void 0 : y.lineColor) != null ? f : this.lineColor,
75
+ dashed: (g = (S = this.paramsStyle) == null ? void 0 : S.dashed) != null ? g : this.dashed,
76
+ occlusionVisibility: (M = (P = this.paramsStyle) == null ? void 0 : P.occlusionVisibility) != null ? M : this.occlusionVisibility,
77
+ occlusionMode: (W = (V = this.paramsStyle) == null ? void 0 : V.occlusionMode) != null ? W : this.occlusionMode
73
78
  };
74
79
  this.lines.length && this.lines.forEach((m) => m.removeFromParent()), this.lines = o.map((m, p) => {
75
- const W = o[p + 1];
76
- if (p !== 0 && W === void 0)
80
+ const b = o[p + 1];
81
+ if (p !== 0 && b === void 0)
77
82
  return null;
78
- const b = new H(c(a({}, r), {
83
+ const D = new L(c(a({}, r), {
79
84
  pointVisibility: this.withDots ? { startPoint: p === 0, endPoint: !0 } : !1
80
85
  }));
81
- return b.setPoints([m, W]), b;
82
- }).filter(F), this.add(...this.lines);
86
+ return D.setPoints([m, b]), D;
87
+ }).filter(I), this.add(...this.lines);
83
88
  }
84
89
  setStyle(i) {
85
90
  this.paramsStyle = i, this.lines.forEach((t) => t.setStyle(i));
@@ -91,19 +96,19 @@ class w extends T {
91
96
  this.lines.forEach((i) => i.unhighlight());
92
97
  }
93
98
  }
94
- class Q extends w {
99
+ class X extends v {
95
100
  constructor(...i) {
96
101
  super(c(a({}, i[0]), { withDots: !1 }));
97
102
  l(this, "name", "PolylineMesh");
98
103
  }
99
104
  }
100
- class U extends w {
105
+ class Y extends v {
101
106
  constructor(...i) {
102
107
  super(c(a({}, i[0]), { withDots: !0 }));
103
108
  l(this, "name", "PolylineWithDotsMesh");
104
109
  }
105
110
  }
106
111
  export {
107
- Q as PolylineMesh,
108
- U as PolylineWithDotsMesh
112
+ X as PolylineMesh,
113
+ Y as PolylineWithDotsMesh
109
114
  };
@@ -27,6 +27,12 @@ export interface BaseObjectConfig {
27
27
  * @default true
28
28
  */
29
29
  occlusionVisibility: boolean;
30
+ /**
31
+ * @description 当 occlusionVisibility 为 true 时,以哪种方式显示被遮挡的部分
32
+ * @params 'depthTest': 关闭深度测试, 'translucence': 半透明
33
+ * @default 'translucence'
34
+ */
35
+ occlusionMode: 'translucence' | 'depthTest';
30
36
  }
31
37
  /**
32
38
  * @description: 基础对象
@@ -1,38 +1,38 @@
1
- var a = Object.defineProperty;
1
+ var b = Object.defineProperty;
2
2
  var u = Object.getOwnPropertySymbols;
3
- var b = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable;
4
- var n = (s, t, e) => t in s ? a(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, p = (s, t) => {
3
+ var g = Object.prototype.hasOwnProperty, a = Object.prototype.propertyIsEnumerable;
4
+ var n = (s, t, e) => t in s ? b(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, d = (s, t) => {
5
5
  for (var e in t || (t = {}))
6
- b.call(t, e) && n(s, e, t[e]);
6
+ g.call(t, e) && n(s, e, t[e]);
7
7
  if (u)
8
8
  for (var e of u(t))
9
- g.call(t, e) && n(s, e, t[e]);
9
+ a.call(t, e) && n(s, e, t[e]);
10
10
  return s;
11
11
  };
12
- var r = (s, t, e) => (n(s, typeof t != "symbol" ? t + "" : t, e), e);
13
- import { hotkeys as d } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
14
- import { Sculpt as l } from "../../index.js";
12
+ var o = (s, t, e) => (n(s, typeof t != "symbol" ? t + "" : t, e), e);
13
+ import { hotkeys as p } from "../../../vendor/hotkeys-js/dist/hotkeys.esm.js";
14
+ import { Sculpt as r } from "../../index.js";
15
15
  import { IObject3D as m } from "../../../shared-utils/three/IObject3D.js";
16
16
  import { applyObjectMatrixWorld as y } from "../../../shared-utils/three/applyObjectMatrixWorld.js";
17
17
  const f = /* @__PURE__ */ new Map();
18
- class x extends m {
19
- constructor(e, o) {
18
+ class E extends m {
19
+ constructor(e, l) {
20
20
  super();
21
- r(this, "name", "Sculpt");
22
- r(this, "isSculptObject", !0);
23
- r(this, "draggable");
21
+ o(this, "name", "Sculpt");
22
+ o(this, "isSculptObject", !0);
23
+ o(this, "draggable");
24
24
  /**
25
25
  * @description 是否被选中
26
26
  */
27
- r(this, "selected");
27
+ o(this, "selected");
28
28
  /**
29
29
  * @description 配置
30
30
  */
31
- r(this, "config");
32
- r(this, "editor");
33
- r(this, "on", (e, o, i) => l.modules.fiveDomEvents.addEventListener(this, e, o, i));
34
- r(this, "off", (...e) => l.modules.fiveDomEvents.removeEventListener(this, ...e));
35
- e != null && e.id && (this.uuid = e.id), this.config = p({ canEdit: !0, occlusionVisibility: !0 }, o), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility), this.config.canEdit && (d("backspace, delete", () => {
31
+ o(this, "config");
32
+ o(this, "editor");
33
+ o(this, "on", (e, l, i) => r.modules.fiveDomEvents.addEventListener(this, e, l, i));
34
+ o(this, "off", (...e) => r.modules.fiveDomEvents.removeEventListener(this, ...e));
35
+ e != null && e.id && (this.uuid = e.id), this.config = d({ canEdit: !0, occlusionVisibility: !0, occlusionMode: "translucence" }, l), e != null && e.style && (e.style.occlusionVisibility = this.config.occlusionVisibility, e.style.occlusionMode = this.config.occlusionMode), this.config.canEdit && (p("backspace, delete", () => {
36
36
  this.selected && this.delete();
37
37
  }), this.on("click", () => {
38
38
  var c, h;
@@ -40,7 +40,7 @@ class x extends m {
40
40
  return;
41
41
  let i = f.get(this.parent.uuid);
42
42
  i && (i.selected = !1, i.unhighlight(), (c = i.editor) == null || c.disable()), f.set(this.parent.uuid, this), this.selected = !0, this.highlight(), (h = this.editor) == null || h.enable();
43
- }), d("esc", () => {
43
+ }), p("esc", () => {
44
44
  var i;
45
45
  this.selected = !1, this.unhighlight(), !this.pointSelector.enabled && ((i = this.editor) == null || i.disable());
46
46
  }));
@@ -52,13 +52,13 @@ class x extends m {
52
52
  };
53
53
  }
54
54
  get pointSelector() {
55
- return l.modules.pointSelector;
55
+ return r.modules.pointSelector;
56
56
  }
57
57
  /**
58
58
  * @description 停止创建当前物体,等同于`esc`
59
59
  */
60
60
  stopCreating() {
61
- l.modules.pointSelector.disable();
61
+ r.modules.pointSelector.disable();
62
62
  }
63
63
  /**
64
64
  * @description 从场景中删除当前物体,并且移除事件监听
@@ -81,10 +81,10 @@ class x extends m {
81
81
  return y(this, e);
82
82
  }
83
83
  applyObjectQuaternion(e) {
84
- const o = this.quaternion.clone();
85
- return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(o)) : e.clone().applyQuaternion(o);
84
+ const l = this.quaternion.clone();
85
+ return Array.isArray(e) ? e.map((i) => i.clone().applyQuaternion(l)) : e.clone().applyQuaternion(l);
86
86
  }
87
87
  }
88
88
  export {
89
- x as BaseObject
89
+ E as BaseObject
90
90
  };
@@ -33,8 +33,14 @@ export type LineWidthStyle = {
33
33
  };
34
34
  export type OcclusionStyle = {
35
35
  /**
36
- * @description: 是否以一种半透明的方式显示遮挡的部分
36
+ * @description 是否以一种半透明的方式显示遮挡的部分
37
37
  */
38
38
  occlusionVisibility: boolean;
39
+ /**
40
+ * @description 当 occlusionVisibility 为true时,以哪种方式显示被遮挡的部分
41
+ * @params 'depthTest': 关闭深度测试, 'translucence': 半透明
42
+ * @default 'translucence'
43
+ */
44
+ occlusionMode: 'translucence' | 'depthTest';
39
45
  };
40
46
  export type LineStyle = LineColorStyle & LineWidthStyle;
@@ -9,9 +9,12 @@ export default class ColoredMesh<TGeometry extends THREE.Geometry | THREE.Buffer
9
9
  get color(): THREE.Color;
10
10
  get opacity(): number;
11
11
  get occlusionVisibility(): boolean;
12
+ get occlusionMode(): "translucence" | "depthTest";
12
13
  set geometry(geometry: TGeometry);
13
14
  get geometry(): TGeometry;
15
+ private paramsStyle;
14
16
  private _geometry;
15
17
  constructor(params?: Partial<ColoredMeshStyle>);
16
18
  setStyle(params: Partial<ColoredMeshStyle>): void;
19
+ private setOcclusionVisibility;
17
20
  }
@@ -1,38 +1,49 @@
1
- var m = Object.defineProperty;
2
- var y = (i, t, e) => t in i ? m(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
- var r = (i, t, e) => (y(i, typeof t != "symbol" ? t + "" : t, e), e);
4
- import * as o from "three";
5
- import { DEFAULT_COLOR as g } from "../color.js";
6
- import { IObject3D as a } from "../../../shared-utils/three/IObject3D.js";
1
+ var g = Object.defineProperty;
2
+ var a = Object.getOwnPropertySymbols;
3
+ var f = Object.prototype.hasOwnProperty, F = Object.prototype.propertyIsEnumerable;
4
+ var d = (i, t, e) => t in i ? g(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, u = (i, t) => {
5
+ for (var e in t || (t = {}))
6
+ f.call(t, e) && d(i, e, t[e]);
7
+ if (a)
8
+ for (var e of a(t))
9
+ F.call(t, e) && d(i, e, t[e]);
10
+ return i;
11
+ };
12
+ var c = (i, t, e) => (d(i, typeof t != "symbol" ? t + "" : t, e), e);
13
+ import * as s from "three";
14
+ import { DEFAULT_COLOR as M } from "../color.js";
15
+ import { IObject3D as B } from "../../../shared-utils/three/IObject3D.js";
7
16
  import "hammerjs";
8
17
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
9
18
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
10
19
  import "../../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
11
20
  import "animejs";
12
- import { notNil as h } from "../../../shared-utils/isNil.js";
13
- class O extends a {
21
+ import { notNil as m } from "../../../shared-utils/isNil.js";
22
+ class E extends B {
14
23
  constructor(e) {
15
- var l, d;
24
+ var h, y;
16
25
  super();
17
- r(this, "name", "ColoredMesh");
18
- r(this, "meshFont");
19
- r(this, "meshBackground");
20
- r(this, "_geometry", new o.BufferGeometry());
21
- const c = new o.MeshBasicMaterial({
22
- color: (l = e == null ? void 0 : e.color) != null ? l : g,
26
+ c(this, "name", "ColoredMesh");
27
+ c(this, "meshFont");
28
+ c(this, "meshBackground");
29
+ c(this, "paramsStyle", {});
30
+ c(this, "_geometry", new s.BufferGeometry());
31
+ this.paramsStyle = e != null ? e : {};
32
+ const r = new s.MeshBasicMaterial({
33
+ color: (h = e == null ? void 0 : e.color) != null ? h : M,
23
34
  transparent: !0,
24
- side: o.DoubleSide,
35
+ side: s.DoubleSide,
25
36
  depthTest: !0,
26
- opacity: (d = e == null ? void 0 : e.opacity) != null ? d : 0.5
27
- }), u = new o.MeshBasicMaterial({
37
+ opacity: (y = e == null ? void 0 : e.opacity) != null ? y : 0.5
38
+ }), l = new s.MeshBasicMaterial({
28
39
  color: 16777215,
29
40
  transparent: !0,
30
- side: o.DoubleSide,
41
+ side: s.DoubleSide,
31
42
  depthTest: !1,
32
43
  depthWrite: !1,
33
- opacity: 0.3 / 0.5 * c.opacity
34
- }), s = new o.Mesh(this.geometry, c), n = new o.Mesh(this.geometry, u);
35
- s.name = "MeshFront", n.name = "MeshBackground", s.renderOrder = 1, n.renderOrder = 0, this.meshFont = s, this.meshBackground = n, this.add(s, n), h(e == null ? void 0 : e.occlusionVisibility) && (e.occlusionVisibility ? this.addIfNotExists(this.meshBackground) : this.remove(this.meshBackground));
44
+ opacity: 0.3 / 0.5 * r.opacity
45
+ }), o = new s.Mesh(this.geometry, r), n = new s.Mesh(this.geometry, l);
46
+ o.name = "MeshFront", n.name = "MeshBackground", o.renderOrder = 1, n.renderOrder = 0, this.meshFont = o, this.meshBackground = n, this.add(o), this.setOcclusionVisibility({ occlusionVisibility: e == null ? void 0 : e.occlusionVisibility, occlusionMode: e == null ? void 0 : e.occlusionMode });
36
47
  }
37
48
  get color() {
38
49
  return this.meshFont.material.color;
@@ -41,7 +52,10 @@ class O extends a {
41
52
  return this.meshFont.material.opacity;
42
53
  }
43
54
  get occlusionVisibility() {
44
- return !!this.meshBackground.parent;
55
+ return !!this.meshBackground.parent || this.meshFont.material.depthTest === !1;
56
+ }
57
+ get occlusionMode() {
58
+ return this.meshFont.material.depthTest === !1 ? "depthTest" : "translucence";
45
59
  }
46
60
  set geometry(e) {
47
61
  this._geometry = e, this.meshFont.geometry = e, this.meshBackground.geometry = e;
@@ -50,9 +64,14 @@ class O extends a {
50
64
  return this._geometry;
51
65
  }
52
66
  setStyle(e) {
53
- h(e.color) && (this.meshFont.material.color.set(e.color), this.needsRender = !0), h(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * e.opacity, this.needsRender = !0), h(e.occlusionVisibility) && (e.occlusionVisibility ? this.addIfNotExists(this.meshBackground) : this.remove(this.meshBackground));
67
+ this.paramsStyle = u(u({}, this.paramsStyle), e), m(e.color) && (this.meshFont.material.color.set(e.color), this.needsRender = !0), m(e.opacity) && (this.meshFont.material.opacity = e.opacity, this.meshBackground.material.opacity = 0.3 / 0.5 * e.opacity, this.needsRender = !0), this.setOcclusionVisibility(e);
68
+ }
69
+ setOcclusionVisibility(e) {
70
+ var o, n, h;
71
+ const r = (n = (o = e.occlusionMode) != null ? o : this.paramsStyle.occlusionMode) != null ? n : "translucence", l = (h = e.occlusionVisibility) != null ? h : this.paramsStyle.occlusionVisibility;
72
+ m(l) && (l ? r === "depthTest" ? (this.meshFont.material.depthTest = !1, this.remove(this.meshBackground)) : r === "translucence" && (this.meshFont.material.depthTest = !0, this.addIfNotExists(this.meshBackground)) : (this.meshFont.material.depthTest = !0, this.remove(this.meshBackground)));
54
73
  }
55
74
  }
56
75
  export {
57
- O as ColoredMesh
76
+ E as ColoredMesh
58
77
  };
@@ -15,7 +15,7 @@ let x = class {
15
15
  /**
16
16
  * @realsee/dnalogel 版本号
17
17
  */
18
- o(this, "VERSION", "3.37.2");
18
+ o(this, "VERSION", "3.38.0");
19
19
  o(this, "NAME");
20
20
  o(this, "five");
21
21
  o(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.37.2",
3
+ "%c %c@realsee/dnalogel %cv3.38.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.37.2",
3
+ "version": "3.38.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",