@realsee/dnalogel 3.77.3-alpha.1 → 3.77.4-alpha.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 (605) hide show
  1. package/CHANGELOG.md +846 -837
  2. package/dist/GuideLinePlugin/Controller.d.ts +34 -2
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  4. package/dist/Sculpt/Meshes/Line.d.ts +0 -4
  5. package/dist/index.cjs.js +68 -68
  6. package/dist/index.js +4934 -4924
  7. package/dist/index.umd.js +61 -61
  8. package/docs/.nojekyll +1 -0
  9. package/docs/assets/custom.css +0 -0
  10. package/docs/assets/highlight.css +127 -0
  11. package/docs/assets/icons.js +18 -0
  12. package/docs/assets/icons.svg +1 -0
  13. package/docs/assets/main.js +60 -0
  14. package/docs/assets/navigation.js +1 -0
  15. package/docs/assets/search.js +1 -0
  16. package/docs/assets/style.css +1493 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  19. package/docs/classes/CSS3DRender.html +100 -0
  20. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  21. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +72 -0
  22. package/docs/classes/ModelMakerPluginInstance.html +116 -0
  23. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  24. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  25. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  26. package/docs/classes/ModelRoomLabelController.html +19 -0
  27. package/docs/classes/MoveController.html +45 -0
  28. package/docs/classes/Object3DHelperController.html +45 -0
  29. package/docs/classes/PaintBrush.html +15 -0
  30. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  31. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  32. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  33. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  34. package/docs/classes/PanoTagPluginController.html +111 -0
  35. package/docs/classes/Sculpt.html +77 -0
  36. package/docs/classes/Util.BetterTween.html +6 -0
  37. package/docs/classes/Util.FiveDomEvents.html +13 -0
  38. package/docs/classes/Util.FivePuppet.html +20 -0
  39. package/docs/classes/Util.Interval.html +11 -0
  40. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  41. package/docs/classes/Util.LightTag.html +47 -0
  42. package/docs/classes/Util.LineSegments.html +4 -0
  43. package/docs/classes/Util.Magnifier.html +26 -0
  44. package/docs/classes/Util.Object3D.html +8 -0
  45. package/docs/classes/Util.PointDomHelper.html +8 -0
  46. package/docs/classes/Util.PointHelper.html +10 -0
  47. package/docs/classes/Util.PointSelector.html +66 -0
  48. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  49. package/docs/classes/Util.Rectangle.html +12 -0
  50. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  51. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  52. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  53. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  54. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  55. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  56. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  57. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  58. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  59. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  60. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  61. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  62. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  63. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  64. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  65. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  66. package/docs/classes/WalkController.html +42 -0
  67. package/docs/enums/CameraMovementEffect.html +4 -0
  68. package/docs/enums/ContentType.html +34 -0
  69. package/docs/enums/DIRECTION.html +5 -0
  70. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  71. package/docs/enums/DimensionType.html +4 -0
  72. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  73. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  74. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  75. package/docs/enums/PointType.html +4 -0
  76. package/docs/enums/Rotation.html +5 -0
  77. package/docs/functions/AreaMakerPlugin.html +1 -0
  78. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  79. package/docs/functions/CameraMovementPlugin.html +2 -0
  80. package/docs/functions/CruisePlugin.html +1 -0
  81. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  82. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  83. package/docs/functions/GuideLinePlugin.html +1 -0
  84. package/docs/functions/ItemLabelPlugin.html +1 -0
  85. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  86. package/docs/functions/MeasurePlugin.html +1 -0
  87. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  88. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  89. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  90. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  91. package/docs/functions/ModelMakerPlugin.html +1 -0
  92. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  93. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  94. package/docs/functions/ModelViewPlugin.html +2 -0
  95. package/docs/functions/MovePlugin.html +1 -0
  96. package/docs/functions/Object3DHelperPlugin.html +1 -0
  97. package/docs/functions/PanoCompassPlugin.html +1 -0
  98. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  99. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  100. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  101. package/docs/functions/PanoMeasurePlugin.html +1 -0
  102. package/docs/functions/PanoRulerPlugin.html +2 -0
  103. package/docs/functions/PanoRulerProPlugin.html +2 -0
  104. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  105. package/docs/functions/PanoTagPlugin.html +1 -0
  106. package/docs/functions/PanoVideoPlugin.html +10 -0
  107. package/docs/functions/PipelinePlugin.html +1 -0
  108. package/docs/functions/SculptPlugin.html +2 -0
  109. package/docs/functions/SculptPluginForFive.html +2 -0
  110. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  111. package/docs/functions/Util.awaitNextFrame.html +1 -0
  112. package/docs/functions/Util.blink.html +13 -0
  113. package/docs/functions/Util.blinkWithPreset.html +6 -0
  114. package/docs/functions/Util.bounding.html +1 -0
  115. package/docs/functions/Util.boundingBox.html +1 -0
  116. package/docs/functions/Util.boundingSphere.html +1 -0
  117. package/docs/functions/Util.boxVertex.html +7 -0
  118. package/docs/functions/Util.boxVertexes.html +1 -0
  119. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  120. package/docs/functions/Util.cleanup.html +3 -0
  121. package/docs/functions/Util.convexHull.html +2 -0
  122. package/docs/functions/Util.equal.html +5 -0
  123. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  124. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  125. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  126. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  127. package/docs/functions/Util.getFrameTime.html +3 -0
  128. package/docs/functions/Util.getGeometryArea.html +1 -0
  129. package/docs/functions/Util.getGeometryInfo.html +1 -0
  130. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  131. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  132. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  133. package/docs/functions/Util.inside.html +1 -0
  134. package/docs/functions/Util.isModelLike.html +1 -0
  135. package/docs/functions/Util.isNil.html +2 -0
  136. package/docs/functions/Util.isPanoramaLike.html +1 -0
  137. package/docs/functions/Util.lookObject.html +7 -0
  138. package/docs/functions/Util.lookPoint.html +5 -0
  139. package/docs/functions/Util.nextFrame.html +1 -0
  140. package/docs/functions/Util.notNil.html +2 -0
  141. package/docs/functions/Util.reblink.html +13 -0
  142. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  143. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  144. package/docs/functions/Util.sculpt.createBox.html +1 -0
  145. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  146. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  147. package/docs/functions/Util.sculpt.createLine.html +2 -0
  148. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  149. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  150. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  151. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  152. package/docs/functions/Util.sculpt.transformUnit.html +1 -0
  153. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  154. package/docs/functions/Util.tag.html +1 -0
  155. package/docs/functions/Util.triangleArea.html +2 -0
  156. package/docs/functions/Util.triangleCenter.html +2 -0
  157. package/docs/functions/Util.tweenProgress.html +1 -0
  158. package/docs/functions/Util.uuid.html +2 -0
  159. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  160. package/docs/functions/Util.worldBounding.html +1 -0
  161. package/docs/functions/Util.worldBoundingBox.html +1 -0
  162. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  163. package/docs/functions/createPolyline.html +2 -0
  164. package/docs/functions/pluginFlag.html +1 -0
  165. package/docs/functions/validatePolygon.html +1 -0
  166. package/docs/hierarchy.html +1 -0
  167. package/docs/index.html +70 -0
  168. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  169. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  170. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  171. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  172. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  173. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  174. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  175. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  176. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  177. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  178. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  179. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  180. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  181. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  182. package/docs/interfaces/ContentTypeMapInterface.html +73 -0
  183. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  184. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  185. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  186. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  187. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  188. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  189. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  190. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  191. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  192. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  193. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  194. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  195. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  196. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  197. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  198. package/docs/interfaces/FloorplanBounding.html +9 -0
  199. package/docs/interfaces/FloorplanData.html +7 -0
  200. package/docs/interfaces/FloorplanEntrance.html +14 -0
  201. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  202. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  203. package/docs/interfaces/FloorplanFloorData.html +9 -0
  204. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  205. package/docs/interfaces/FloorplanObserver.html +8 -0
  206. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  207. package/docs/interfaces/FloorplanPosition.html +4 -0
  208. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  209. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  210. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  211. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  212. package/docs/interfaces/FloorplanServerData.html +4 -0
  213. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  214. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  215. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  216. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  217. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  218. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  219. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  220. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  221. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  222. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  223. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  224. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  225. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  226. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  227. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  228. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  229. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  230. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  231. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  232. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  233. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  234. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  235. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  236. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  237. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  238. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  239. package/docs/interfaces/HelperOffset.html +4 -0
  240. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  241. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  242. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  243. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  244. package/docs/interfaces/MinMax.html +3 -0
  245. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  246. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  247. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  248. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  249. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  250. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  251. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  252. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  253. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  254. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  255. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  256. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  257. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  258. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  259. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  260. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  261. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  262. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  263. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  264. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  265. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  266. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  267. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  268. package/docs/interfaces/Object3DHelperState.html +4 -0
  269. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  270. package/docs/interfaces/PaintBrushAction.html +14 -0
  271. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  272. package/docs/interfaces/PaintBrushState.html +6 -0
  273. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  274. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  275. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  276. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  277. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  278. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  279. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  280. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  281. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  282. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  283. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  284. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  285. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  286. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  287. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  288. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  289. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  290. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  291. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  292. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  293. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  294. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  295. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  296. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  297. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  298. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  299. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  300. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  301. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  302. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  303. package/docs/interfaces/PluginEventMap.html +16 -0
  304. package/docs/interfaces/Point.html +4 -0
  305. package/docs/interfaces/Room.html +5 -0
  306. package/docs/interfaces/RoomInfo.html +3 -0
  307. package/docs/interfaces/RoomLabel.html +16 -0
  308. package/docs/interfaces/RoomRules.html +1 -0
  309. package/docs/interfaces/Rooms.html +1 -0
  310. package/docs/interfaces/Scissor.html +13 -0
  311. package/docs/interfaces/SculptConfig.html +19 -0
  312. package/docs/interfaces/State.html +7 -0
  313. package/docs/interfaces/TagCacheInterface.html +9 -0
  314. package/docs/interfaces/TagConfig.html +174 -0
  315. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  316. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  317. package/docs/interfaces/TagIconUrl.html +22 -0
  318. package/docs/interfaces/TagObjectGroup.html +3 -0
  319. package/docs/interfaces/TagState.html +3 -0
  320. package/docs/interfaces/TagStyle.html +5 -0
  321. package/docs/interfaces/Tags.html +8 -0
  322. package/docs/interfaces/TemporaryState.html +2 -0
  323. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  324. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  325. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  326. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  327. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  328. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  329. package/docs/interfaces/Util.MagnifierParameter.html +13 -0
  330. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  331. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  332. package/docs/interfaces/Util.PointIntersection.html +21 -0
  333. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  334. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  335. package/docs/modules/AreaMakerPluginType.html +17 -0
  336. package/docs/modules/CruisePluginTypes.html +14 -0
  337. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  338. package/docs/modules/GuideLineItem.html +2 -0
  339. package/docs/modules/GuideLineModeItem.html +3 -0
  340. package/docs/modules/GuideLinePluginType.html +25 -0
  341. package/docs/modules/ModelMakerPluginType.html +19 -0
  342. package/docs/modules/PanoVideoPluginType.html +8 -0
  343. package/docs/modules/SculptData.html +9 -0
  344. package/docs/modules/SculptType.html +2 -0
  345. package/docs/modules/Util.html +91 -0
  346. package/docs/modules/Util.sculpt.html +27 -0
  347. package/docs/modules.html +281 -0
  348. package/docs/types/AddObject3DHelperConfig.html +19 -0
  349. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  350. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  351. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  352. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  353. package/docs/types/ArrayPosition.html +1 -0
  354. package/docs/types/AudioAppearance.html +1 -0
  355. package/docs/types/CSS3DRenderExportType.html +1 -0
  356. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  357. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  358. package/docs/types/ClassFunctionParameters.html +1 -0
  359. package/docs/types/Color.html +1 -0
  360. package/docs/types/ContentTypeConfigKey.html +1 -0
  361. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  362. package/docs/types/ContentTypeMap.html +1 -0
  363. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  364. package/docs/types/Create3DElementReturnType.html +1 -0
  365. package/docs/types/CruisePluginExportType.html +1 -0
  366. package/docs/types/CruisePluginTypes.CruiseData.html +6 -0
  367. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  368. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  369. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  370. package/docs/types/DeprecatedTagProperty.html +3 -0
  371. package/docs/types/Direction-1.html +1 -0
  372. package/docs/types/Direction4.html +1 -0
  373. package/docs/types/ElementRenderer.html +2 -0
  374. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  375. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  376. package/docs/types/FloorplanRuleLabels.html +2 -0
  377. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  378. package/docs/types/GuideLinePluginExportType.html +1 -0
  379. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  380. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  381. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  382. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  383. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  384. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  385. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  386. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  387. package/docs/types/HelperEventMap.html +1 -0
  388. package/docs/types/InternalHelperEventMap.html +1 -0
  389. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  390. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  391. package/docs/types/MeasureEndReason.html +1 -0
  392. package/docs/types/MeasurePluginConfig.html +5 -0
  393. package/docs/types/MeasurePluginEventMap.html +1 -0
  394. package/docs/types/MediaData.html +2 -0
  395. package/docs/types/MediaStore.html +1 -0
  396. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  397. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  398. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  399. package/docs/types/ModelId.html +1 -0
  400. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  401. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  402. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  403. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  404. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  405. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  406. package/docs/types/MoveArgs.html +2 -0
  407. package/docs/types/MoveOpts.html +2 -0
  408. package/docs/types/Object3DHelperEventMap.html +1 -0
  409. package/docs/types/ObjectFit.html +1 -0
  410. package/docs/types/PaintBrushEventMap.html +1 -0
  411. package/docs/types/PanoCompassPluginData.html +1 -0
  412. package/docs/types/PanoCompassPluginExportType.html +1 -0
  413. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  414. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  415. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  416. package/docs/types/PanoIndex.html +1 -0
  417. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  418. package/docs/types/PanoMeasureReturnType.html +1 -0
  419. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  420. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  421. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  422. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  423. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  424. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  425. package/docs/types/PipelinePluginParameterType.html +1 -0
  426. package/docs/types/PipelinePluginReturnType.html +1 -0
  427. package/docs/types/PlaneTag.html +2 -0
  428. package/docs/types/Point2DTag.html +2 -0
  429. package/docs/types/Point3DTag.html +2 -0
  430. package/docs/types/PointTagInstance.html +1 -0
  431. package/docs/types/Position.html +1 -0
  432. package/docs/types/PositionFrom.html +1 -0
  433. package/docs/types/RotateArgs.html +2 -0
  434. package/docs/types/RotateOpts.html +2 -0
  435. package/docs/types/RuleLabelsKey.html +1 -0
  436. package/docs/types/RuleLabelsValue.html +1 -0
  437. package/docs/types/ScaleCallback.html +1 -0
  438. package/docs/types/ScalePosition.html +3 -0
  439. package/docs/types/SculptData.BoxData.html +1 -0
  440. package/docs/types/SculptData.CircleData.html +1 -0
  441. package/docs/types/SculptData.CylinderData.html +1 -0
  442. package/docs/types/SculptData.PointData.html +1 -0
  443. package/docs/types/SculptData.PolygonData.html +1 -0
  444. package/docs/types/SculptData.PolylineData.html +1 -0
  445. package/docs/types/SculptData.PrismData.html +1 -0
  446. package/docs/types/SculptData.RectangleData.html +1 -0
  447. package/docs/types/SculptType.Theme.html +10 -0
  448. package/docs/types/StickType.html +1 -0
  449. package/docs/types/Tag.html +17 -0
  450. package/docs/types/Tag2D.html +2 -0
  451. package/docs/types/Tag3D.html +2 -0
  452. package/docs/types/TagClickParams.html +1 -0
  453. package/docs/types/TagConfigByKey.html +1 -0
  454. package/docs/types/TagContentType.html +1 -0
  455. package/docs/types/TagContentTypeMapping.html +1 -0
  456. package/docs/types/TagDimensionType.html +1 -0
  457. package/docs/types/TagElement.html +2 -0
  458. package/docs/types/TagEvents.html +1 -0
  459. package/docs/types/TagGLTFObject.html +1 -0
  460. package/docs/types/TagHooks.html +1 -0
  461. package/docs/types/TagId.html +1 -0
  462. package/docs/types/TagInstance.html +1 -0
  463. package/docs/types/TagPlacement.html +5 -0
  464. package/docs/types/TagPointType.html +2 -0
  465. package/docs/types/TagRendererMap.html +1 -0
  466. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  467. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  468. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  469. package/docs/types/Util.AdherePoint.html +2 -0
  470. package/docs/types/Util.PointSelectorConfig.html +1 -0
  471. package/docs/types/Util.SupportedTarget.html +2 -0
  472. package/docs/types/Util.Target.html +2 -0
  473. package/docs/types/Util.ThreeObject.html +2 -0
  474. package/docs/types/WorkCode.html +1 -0
  475. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  476. package/docs/variables/PLUGIN.html +1 -0
  477. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  478. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  479. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  480. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  481. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  482. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  483. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  484. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  485. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  486. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  487. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  488. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  489. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  490. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  491. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  492. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  493. package/docs/variables/defaultGlobalConfig.html +1 -0
  494. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  495. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  496. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  497. package/libs/AreaMakerPlugin/Controller.js +2 -3
  498. package/libs/AreaMakerPlugin/index.js +2 -3
  499. package/libs/AreaMakerPlugin/utils/Item.js +2 -3
  500. package/libs/CSS3DRenderPlugin/Controller.js +2 -3
  501. package/libs/CSS3DRenderPlugin/index.js +5 -6
  502. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +38 -39
  503. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +9 -10
  504. package/libs/CruisePlugin/BaseController.js +4 -5
  505. package/libs/CruisePlugin/Move.js +2 -3
  506. package/libs/CruisePlugin/Work.js +2 -3
  507. package/libs/CruisePlugin/index.js +6 -7
  508. package/libs/CurrentPanoImagePlugin/Controller.js +14 -15
  509. package/libs/CurrentPanoImagePlugin/index.js +3 -4
  510. package/libs/GuideLinePlugin/Components/Tag.js +151 -163
  511. package/libs/GuideLinePlugin/Controller.d.ts +34 -2
  512. package/libs/GuideLinePlugin/Controller.js +60 -27
  513. package/libs/GuideLinePlugin/GuideLineItem.js +2 -3
  514. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -69
  515. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  516. package/libs/GuideLinePlugin/GuideLineModeItem.js +2 -3
  517. package/libs/GuideLinePlugin/index.js +6 -7
  518. package/libs/MeasurePlugin/Controller.js +10 -11
  519. package/libs/MeasurePlugin/index.js +4 -5
  520. package/libs/MeasurePlugin/utils/MeasureMesh.js +2 -3
  521. package/libs/ModelChassisCompassPlugin/Plugin.js +3 -4
  522. package/libs/ModelChassisCompassPlugin/index.js +0 -1
  523. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +5 -6
  524. package/libs/ModelEntryDoorGuidePlugin/index.js +0 -1
  525. package/libs/ModelMakerPlugin/Controller.js +2 -3
  526. package/libs/ModelMakerPlugin/index.js +2 -3
  527. package/libs/ModelMakerPlugin/item/baseItem.js +2 -3
  528. package/libs/ModelMakerPlugin/item/boxItem.js +2 -3
  529. package/libs/ModelMakerPlugin/item/polygonItem.js +2 -3
  530. package/libs/ModelMakerPlugin/item/prismItem.js +2 -3
  531. package/libs/ModelTVVideoPlugin/Plugin.js +3 -4
  532. package/libs/ModelTVVideoPlugin/index.js +2 -3
  533. package/libs/ModelViewPlugin/Plugin.js +19 -20
  534. package/libs/ModelViewPlugin/index.js +0 -1
  535. package/libs/Object3DHelperPlugin/Controller.js +2 -3
  536. package/libs/Object3DHelperPlugin/index.js +5 -6
  537. package/libs/PanoCompassPlugin/Controller.js +2 -3
  538. package/libs/PanoCompassPlugin/index.js +3 -4
  539. package/libs/PanoDoorLabelPlugin/Controller.js +23 -24
  540. package/libs/PanoDoorLabelPlugin/index.js +3 -4
  541. package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -3
  542. package/libs/PanoMeasurePlugin/Components/Controller1.js +2 -3
  543. package/libs/PanoMeasurePlugin/Controller/EditController.js +2 -3
  544. package/libs/PanoMeasurePlugin/Controller/WatchController.js +2 -3
  545. package/libs/PanoMeasurePlugin/Controller/index.js +2 -3
  546. package/libs/PanoMeasurePlugin/Model/area.js +2 -3
  547. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +0 -1
  548. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +15 -16
  549. package/libs/PanoMeasurePlugin/index.js +13 -14
  550. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +2 -3
  551. package/libs/PanoRulerProPlugin/Controller.js +2 -3
  552. package/libs/PanoRulerProPlugin/RulerItems.js +41 -42
  553. package/libs/PanoRulerProPlugin/index.js +3 -4
  554. package/libs/PanoSpatialTagPlugin/Plugin.js +33 -34
  555. package/libs/PanoSpatialTagPlugin/index.js +0 -1
  556. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +2 -3
  557. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +2 -3
  558. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +2 -3
  559. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +2 -3
  560. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +2 -3
  561. package/libs/PanoTagPlugin/Components/Tag/index.js +2 -3
  562. package/libs/PanoTagPlugin/Components/TagContainer.js +2 -3
  563. package/libs/PanoTagPlugin/Components/TagItem.js +2 -3
  564. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +2 -3
  565. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +2 -3
  566. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +2 -3
  567. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +2 -3
  568. package/libs/PanoTagPlugin/controller/TagRender.js +2 -3
  569. package/libs/PanoTagPlugin/controller/TagUtil.js +2 -3
  570. package/libs/PanoTagPlugin/controller/index.js +5 -6
  571. package/libs/PanoTagPlugin/index.js +11 -12
  572. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +2 -3
  573. package/libs/PanoTagPlugin/utils/tag/format.js +2 -3
  574. package/libs/PanoVideoPlugin/Controller.js +8 -9
  575. package/libs/PanoVideoPlugin/VideoMeshController.js +2 -3
  576. package/libs/PanoVideoPlugin/index.js +5 -6
  577. package/libs/PipelinePlugin/Controller.js +2 -3
  578. package/libs/PipelinePlugin/index.js +3 -4
  579. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +2 -3
  580. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +2 -3
  581. package/libs/PipelinePlugin/utils/Objects/Pipe.js +0 -1
  582. package/libs/Sculpt/Meshes/Line.d.ts +0 -4
  583. package/libs/Sculpt/Meshes/Line.js +76 -85
  584. package/libs/Sculpt/Meshes/Point.js +28 -28
  585. package/libs/Sculpt/Meshes/Polygon.js +43 -43
  586. package/libs/Sculpt/index.js +1 -1
  587. package/libs/Sculpt/utils/Modules/Cursor.js +7 -7
  588. package/libs/base/BasePlugin.js +1 -1
  589. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +2 -3
  590. package/libs/floorplan/FloorplanGuidePlugin/index.js +3 -4
  591. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +2 -3
  592. package/libs/floorplan/MapviewFloorplanPlugin/index.js +3 -4
  593. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +2 -3
  594. package/libs/floorplan/ModelFloorplanPlugin/index.js +3 -4
  595. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +2 -3
  596. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +3 -4
  597. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +2 -3
  598. package/libs/floorplan/TopviewFloorplanPlugin/index.js +3 -4
  599. package/libs/index.js +150 -151
  600. package/libs/shared-utils/logger.js +1 -1
  601. package/libs/shared-utils/three/PointSelector/utils/PointHelper2.js +0 -1
  602. package/package.json +1 -1
  603. package/dist/shared-utils/five/getFiveFromParentChain.d.ts +0 -7
  604. package/libs/shared-utils/five/getFiveFromParentChain.d.ts +0 -7
  605. package/libs/shared-utils/five/getFiveFromParentChain.js +0 -15
@@ -1,35 +1,34 @@
1
1
  var $ = Object.defineProperty, Y = Object.defineProperties;
2
2
  var q = Object.getOwnPropertyDescriptors;
3
- var P = Object.getOwnPropertySymbols;
3
+ var B = Object.getOwnPropertySymbols;
4
4
  var J = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
5
- var T = (a, n, e) => n in a ? $(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e, p = (a, n) => {
5
+ var L = (a, n, e) => n in a ? $(a, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[n] = e, g = (a, n) => {
6
6
  for (var e in n || (n = {}))
7
- J.call(n, e) && T(a, e, n[e]);
8
- if (P)
9
- for (var e of P(n))
10
- K.call(n, e) && T(a, e, n[e]);
7
+ J.call(n, e) && L(a, e, n[e]);
8
+ if (B)
9
+ for (var e of B(n))
10
+ K.call(n, e) && L(a, e, n[e]);
11
11
  return a;
12
- }, M = (a, n) => Y(a, q(n));
13
- var o = (a, n, e) => (T(a, typeof n != "symbol" ? n + "" : n, e), e);
14
- import * as u from "three";
12
+ }, E = (a, n) => Y(a, q(n));
13
+ var o = (a, n, e) => (L(a, typeof n != "symbol" ? n + "" : n, e), e);
14
+ import * as v from "three";
15
15
  import { DEFAULT_LINE_COLOR as Q, DEFAULT_LINE_WIDTH as X, DEFAULT_HIGHLIGHT_OPACITY as Z } from "../typings/style.js";
16
16
  import { anyPositionToVector3 as ee } from "../../shared-utils/positionToVector3.js";
17
17
  import { IObject3D as te } from "../../shared-utils/three/IObject3D.js";
18
18
  import { LightTag as ie } from "../../shared-utils/tag.js";
19
19
  import "../../vendor/hammerjs/hammer.js";
20
20
  import "../../shared-utils/three/PointSelector/index.js";
21
- import { centerPoint as B } from "../../shared-utils/three/centerPoint.js";
21
+ import { centerPoint as U } from "../../shared-utils/three/centerPoint.js";
22
22
  import "../../shared-utils/three/CSS3DRenderer/index.js";
23
23
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
24
24
  import { getLengthHTML as se } from "../utils/Meshes/getLengthHTML.js";
25
- import { localToWorld as U } from "../../shared-utils/three/applyObjectMatrixWorld.js";
26
- import { getFiveFromParentChain as oe } from "../../shared-utils/five/getFiveFromParentChain.js";
27
- import { LineGeometry as E } from "../../shared-utils/three/core/LineGeometry.js";
28
- import { LineMaterial as ne } from "../../shared-utils/three/core/LineMaterial.js";
29
- import { THREE_Line2 as V } from "../../shared-utils/three/core/Line2.js";
30
- import { LineMaterial2 as he } from "../../shared-utils/three/core/LineMaterial2.js";
31
- import { transformUnit as re } from "../utils/unit.js";
32
- import { RenderDom as L } from "../utils/renderDom.js";
25
+ import { localToWorld as V } from "../../shared-utils/three/applyObjectMatrixWorld.js";
26
+ import { LineGeometry as H } from "../../shared-utils/three/core/LineGeometry.js";
27
+ import { LineMaterial as oe } from "../../shared-utils/three/core/LineMaterial.js";
28
+ import { THREE_Line2 as F } from "../../shared-utils/three/core/Line2.js";
29
+ import { LineMaterial2 as ne } from "../../shared-utils/three/core/LineMaterial2.js";
30
+ import { transformUnit as le } from "../utils/unit.js";
31
+ import { RenderDom as T } from "../utils/renderDom.js";
33
32
  import "../../shared-utils/three/core/Sphere.js";
34
33
  import "../../shared-utils/three/blink.js";
35
34
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
@@ -39,7 +38,7 @@ import { notNil as m } from "../../shared-utils/isNil.js";
39
38
  import "../../shared-utils/five/FivePuppet.js";
40
39
  class We extends te {
41
40
  constructor(e) {
42
- var r, h, f;
41
+ var h, l, f, d;
43
42
  super();
44
43
  o(this, "name", "LineMesh");
45
44
  o(this, "type", "Line2");
@@ -55,8 +54,6 @@ class We extends te {
55
54
  o(this, "paramsStyle", {});
56
55
  o(this, "lastRenderDomItem");
57
56
  o(this, "lastFOV");
58
- o(this, "fiveListenersInited", !1);
59
- o(this, "fiveRef");
60
57
  o(this, "_onAdded", () => {
61
58
  this.doms.length === 0 && this.paramsStyle.lengthEnable && this.updateDomItems();
62
59
  });
@@ -78,22 +75,26 @@ class We extends te {
78
75
  o(this, "onPanoArrived", () => {
79
76
  setTimeout(() => this.updateDomItems({ force: !0 }), 100);
80
77
  });
81
- this.paramsStyle = p({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new E();
78
+ this.paramsStyle = g({ dashed: !1, lineOpacity: 1 }, e), this.geometry = new H();
82
79
  const i = {
83
- color: new u.Color((r = e == null ? void 0 : e.lineColor) != null ? r : Q),
84
- linewidth: (h = e == null ? void 0 : e.lineWidth) != null ? h : X,
80
+ color: new v.Color((h = e == null ? void 0 : e.lineColor) != null ? h : Q),
81
+ linewidth: (l = e == null ? void 0 : e.lineWidth) != null ? l : X,
85
82
  dashScale: 1,
86
83
  dashSize: 0.02,
87
84
  gapSize: 0.02,
88
85
  opacity: (f = e == null ? void 0 : e.lineOpacity) != null ? f : 1,
89
86
  depthWrite: !1,
90
87
  transparent: !0
91
- }, s = new ne(M(p({}, i), { dashed: !1, depthTest: !0 })), t = new he(M(p({}, i), { dashed: !0, depthTest: !1 }));
92
- this.line1 = new V(this.geometry, s), this.line2 = new V(this.geometry, t), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.initFiveListeners(), e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
93
- this.removeFiveListeners(), L.cacheObject.delete(this), L.checkDom(this);
88
+ }, s = new oe(E(g({}, i), { dashed: !1, depthTest: !0 })), t = new ne(E(g({}, i), { dashed: !0, depthTest: !1 }));
89
+ if (this.line1 = new F(this.geometry, s), this.line2 = new F(this.geometry, t), this.line1.renderOrder = 2, this.line2.renderOrder = 2, this.line1.name = "line1", this.line2.name = "line2", this.add(this.line1), this.five) {
90
+ const y = (d = this.five.renderer) == null ? void 0 : d.getSize(new v.Vector2());
91
+ y && this.setResolution(y.width, y.height), this.five.on("cameraUpdate", this.onCameraUpdate), this.five.on("cameraFovUpdate", this.onCameraUpdate), this.five.on("panoArrived", this.onPanoArrived);
92
+ }
93
+ e && this.setStyle(e), e != null && e.points && this.setPoints(e.points), this.addEventListener("removed", () => {
94
+ this.five && (this.five.off("cameraUpdate", this.onCameraUpdate), this.five.off("cameraFovUpdate", this.onCameraUpdate), this.five.off("panoArrived", this.onPanoArrived)), T.cacheObject.delete(this), T.checkDom(this);
94
95
  }), this.addEventListener("added", () => {
95
- this.initFiveListeners(), L.cacheObject.add(this);
96
- }), L.checkDomEveryFrame();
96
+ T.cacheObject.add(this);
97
+ }), T.checkDomEveryFrame();
97
98
  }
98
99
  get style() {
99
100
  return {
@@ -117,7 +118,7 @@ class We extends te {
117
118
  }
118
119
  get color() {
119
120
  var e;
120
- return new u.Color((e = this.line1.material.three_color) != null ? e : this.paramsStyle.lineColor);
121
+ return new v.Color((e = this.line1.material.three_color) != null ? e : this.paramsStyle.lineColor);
121
122
  }
122
123
  get dashed() {
123
124
  return this.paramsStyle.dashed;
@@ -129,7 +130,9 @@ class We extends te {
129
130
  return this.paramsStyle.occlusionMode;
130
131
  }
131
132
  get five() {
132
- return oe(this);
133
+ var i, s;
134
+ const e = (s = (i = window.globalModules) == null ? void 0 : i.five) != null ? s : window.$five;
135
+ return e || console.error("请先调用 Sculpt.modules.init(five) "), e;
133
136
  }
134
137
  set geometry(e) {
135
138
  var i;
@@ -138,22 +141,10 @@ class We extends te {
138
141
  get geometry() {
139
142
  return this._geometry;
140
143
  }
141
- initFiveListeners() {
142
- var s;
143
- const e = this.five;
144
- if (!e || this.fiveListenersInited)
145
- return;
146
- this.fiveListenersInited = !0, this.fiveRef = e;
147
- const i = (s = e.renderer) == null ? void 0 : s.getSize(new u.Vector2());
148
- i && this.setResolution(i.width, i.height), e.on("cameraUpdate", this.onCameraUpdate), e.on("cameraFovUpdate", this.onCameraUpdate), e.on("panoArrived", this.onPanoArrived);
149
- }
150
- removeFiveListeners() {
151
- this.fiveRef && (this.fiveRef.off("cameraUpdate", this.onCameraUpdate), this.fiveRef.off("cameraFovUpdate", this.onCameraUpdate), this.fiveRef.off("panoArrived", this.onPanoArrived), this.fiveRef = void 0), this.fiveListenersInited = !1;
152
- }
153
144
  updateMatrixWorld(e) {
154
145
  var i;
155
146
  if (super.updateMatrixWorld(e), this.points) {
156
- const s = (i = U(this, this.points)) == null ? void 0 : i.map((t) => t.toArray().join(",")).join(",");
147
+ const s = (i = V(this, this.points)) == null ? void 0 : i.map((t) => t.toArray().join(",")).join(",");
157
148
  s !== this.lastRenderDomItem && (this.updateDomItems(), this.lastRenderDomItem = s);
158
149
  }
159
150
  }
@@ -162,14 +153,14 @@ class We extends te {
162
153
  return;
163
154
  const i = e.map(ee).filter(m);
164
155
  if (this.points = i, i.length < 2) {
165
- const t = new E();
156
+ const t = new H();
166
157
  this.line1.geometry = t, this.line2.geometry = t, this.updateDomItems();
167
158
  return;
168
159
  }
169
160
  const s = i.flatMap((t) => [t.x, t.y, t.z]);
170
161
  if (s.length > 2) {
171
162
  this.line1.geometry.dispose();
172
- const t = new E();
163
+ const t = new H();
173
164
  this.line1.geometry = t, this.line2.geometry = t;
174
165
  }
175
166
  this.line1.geometry.setPositions(s), this.line1.computeLineDistances(), this.updateDomItems(), this.needsRender = !0;
@@ -181,19 +172,19 @@ class We extends te {
181
172
  (t.x !== e || t.y !== i) && (t.set(e, i), this.needsRender = !0);
182
173
  }
183
174
  setStyle(e) {
184
- var t, r, h, f;
185
- if (this.paramsStyle = p(p({}, this.paramsStyle), e), m(e.lineColor)) {
186
- const d = new u.Color(e.lineColor);
175
+ var t, h, l, f;
176
+ if (this.paramsStyle = g(g({}, this.paramsStyle), e), m(e.lineColor)) {
177
+ const d = new v.Color(e.lineColor);
187
178
  this.line1.material.three_color = d, this.line2.material.three_color = d;
188
179
  }
189
180
  m(e.lineWidth) && (this.line1.material.linewidth = e.lineWidth, this.line2.material.linewidth = e.lineWidth), m(e.dashed) && (this.line1.material.dashed = e.dashed), m(e.lineOpacity) && (this.line1.material.opacity = e.lineOpacity, this.line2.material.opacity = e.lineOpacity), this.updateDomItems({ force: !0 });
190
- const i = (r = (t = e.occlusionVisibility) != null ? t : this.paramsStyle.occlusionVisibility) != null ? r : !0, s = (f = (h = e.occlusionMode) != null ? h : this.paramsStyle.occlusionMode) != null ? f : "translucence";
181
+ const i = (h = (t = e.occlusionVisibility) != null ? t : this.paramsStyle.occlusionVisibility) != null ? h : !0, s = (f = (l = e.occlusionMode) != null ? l : this.paramsStyle.occlusionMode) != null ? f : "translucence";
191
182
  i ? this.dashed ? (this.remove(this.line2), this.line1.material.dashed = !0, this.line1.material.depthTest = !1) : s === "depthTest" ? (this.remove(this.line2), this.line1.material.dashed = !1, this.line1.material.depthTest = !1) : s === "translucence" && (this.line1.material.depthTest = !0, this.line2.material.depthTest = !1, this.line1.material.dashed = !0, this.line2.material.dashed = !0, this.addIfNotExists(this.line2)) : (this.remove(this.line2), this.line1.material.depthTest = !0, this.line1.material.dashed = this.paramsStyle.dashed), this.doms.forEach((d) => d.intersectCheck = !i), this.needsRender = !0;
192
183
  }
193
184
  highlight(e) {
194
185
  var i, s;
195
186
  if (this.highlighted = !0, e != null && e.color) {
196
- const t = new u.Color(e.color);
187
+ const t = new v.Color(e.color);
197
188
  this.colorBeforeHighlight = (i = this.colorBeforeHighlight) != null ? i : this.line1.material.three_color, this.line1.material.three_color = t, this.line2.material.three_color = t;
198
189
  } else {
199
190
  this.opacityBeforeHighlight = (s = this.opacityBeforeHighlight) != null ? s : this.line1.material.opacity;
@@ -213,56 +204,56 @@ class We extends te {
213
204
  return i();
214
205
  if (!this.five)
215
206
  return console.error("Five not found");
216
- const s = this.points.map((t, r) => r !== 0 ? [this.points[r - 1], t] : null).filter(m).map((t) => U(this, t));
217
- s.forEach(([t, r], h) => {
218
- var H;
219
- const f = B(t, r);
220
- this.doms[h] = (H = this.doms[h]) != null ? H : (() => {
221
- var v;
222
- const l = new ie(this.five), g = (v = this.paramsStyle.occlusionVisibility) != null ? v : !0;
223
- return l.intersectCheck = !g, l.simulate3D = !0, l;
224
- })(), this.doms[h].setPosition(f, [t, r]);
225
- const d = (l, g) => {
226
- var _, I, D;
227
- const v = (_ = g == null ? void 0 : g.force) != null ? _ : !1;
228
- if (!(this.doms[h].__text === l && !v))
229
- if (this.doms[h].__text = l, l instanceof HTMLElement)
230
- this.doms[h].container.innerHTML = "", this.doms[h].container.appendChild(l);
231
- else if (l) {
232
- const R = (() => {
207
+ const s = this.points.map((t, h) => h !== 0 ? [this.points[h - 1], t] : null).filter(m).map((t) => V(this, t));
208
+ s.forEach(([t, h], l) => {
209
+ var y;
210
+ const f = U(t, h);
211
+ this.doms[l] = (y = this.doms[l]) != null ? y : (() => {
212
+ var S;
213
+ const r = new ie(this.five), u = (S = this.paramsStyle.occlusionVisibility) != null ? S : !0;
214
+ return r.intersectCheck = !u, r.simulate3D = !0, r;
215
+ })(), this.doms[l].setPosition(f, [t, h]);
216
+ const d = (r, u) => {
217
+ var _, D, b;
218
+ const S = (_ = u == null ? void 0 : u.force) != null ? _ : !1;
219
+ if (!(this.doms[l].__text === r && !S))
220
+ if (this.doms[l].__text = r, r instanceof HTMLElement)
221
+ this.doms[l].container.innerHTML = "", this.doms[l].container.appendChild(r);
222
+ else if (r) {
223
+ const w = (() => {
233
224
  if (!this.five || !this.five.camera)
234
225
  return 0;
235
- const y = this.five.getElement();
236
- if (!y)
226
+ const p = this.five.getElement();
227
+ if (!p)
237
228
  return 0;
238
- const c = y.clientWidth, S = y.clientHeight, C = c / 2, b = S / 2, O = t.clone().project(this.five.camera), F = r.clone().project(this.five.camera), w = {
229
+ const c = p.clientWidth, M = p.clientHeight, C = c / 2, I = M / 2, O = t.clone().project(this.five.camera), W = h.clone().project(this.five.camera), P = {
239
230
  x: O.x * C,
240
- y: O.y * b
241
- }, W = {
242
- x: F.x * C,
243
- y: F.y * b
231
+ y: O.y * I
232
+ }, R = {
233
+ x: W.x * C,
234
+ y: W.y * I
244
235
  };
245
- return Math.sqrt(Math.pow(W.x - w.x, 2) + Math.pow(W.y - w.y, 2));
246
- })(), A = (() => !this.five || !this.five.camera ? 20 : B(t, r).distanceTo(this.five.camera.position))(), j = ((D = (I = this.five) == null ? void 0 : I.camera) == null ? void 0 : D.fov) || 60, z = 2 * Math.tan(0.5 * j / 180 * Math.PI), k = `--distance-scale: ${Math.max(Math.min(1 - z * A / 40, 1), 0)};`, G = (y) => {
236
+ return Math.sqrt(Math.pow(R.x - P.x, 2) + Math.pow(R.y - P.y, 2));
237
+ })(), A = (() => !this.five || !this.five.camera ? 20 : U(t, h).distanceTo(this.five.camera.position))(), j = ((b = (D = this.five) == null ? void 0 : D.camera) == null ? void 0 : b.fov) || 60, z = 2 * Math.tan(0.5 * j / 180 * Math.PI), k = `--distance-scale: ${Math.max(Math.min(1 - z * A / 40, 1), 0)};`, G = (p) => {
247
238
  const c = document.createElement("div");
248
- c.classList.add("LineLengthTag"), c.style.visibility = "hidden", c.style.position = "absolute", c.style.padding = "2px 8px", c.style.fontFamily = "Arial-BoldMT", c.style.fontSize = "14px", c.innerText = y, document.body.appendChild(c);
249
- const S = c.offsetWidth;
250
- return document.body.removeChild(c), S;
239
+ c.classList.add("LineLengthTag"), c.style.visibility = "hidden", c.style.position = "absolute", c.style.padding = "2px 8px", c.style.fontFamily = "Arial-BoldMT", c.style.fontSize = "14px", c.innerText = p, document.body.appendChild(c);
240
+ const M = c.offsetWidth;
241
+ return document.body.removeChild(c), M;
251
242
  };
252
243
  let x = 0;
253
- const N = G(l);
254
- R > 0 && N > R && (x = -20), this.doms[h].container.innerHTML = se(l, {
244
+ const N = G(r);
245
+ w > 0 && N > w && (x = -20), this.doms[l].container.innerHTML = se(r, {
255
246
  style: `${k} ${this.paramsStyle.cssStyle || ""}`,
256
247
  offsetY: x
257
248
  });
258
249
  } else
259
- this.doms[h].container.innerHTML = "";
250
+ this.doms[l].container.innerHTML = "";
260
251
  };
261
252
  if (this.paramsStyle.tip)
262
253
  d(this.paramsStyle.tip, e);
263
254
  else {
264
- const l = re(t.distanceTo(r), this.paramsStyle.lengthUnit, this.paramsStyle.precision);
265
- d(l || null, e);
255
+ const r = le(t.distanceTo(h), this.paramsStyle.lengthUnit, this.paramsStyle.precision);
256
+ d(r || null, e);
266
257
  }
267
258
  }), this.doms.length > s.length && (this.doms.slice(s.length).forEach((t) => t.destroy()), this.doms.length = s.length);
268
259
  }
@@ -1,22 +1,22 @@
1
- var P = Object.defineProperty, E = Object.defineProperties;
2
- var N = Object.getOwnPropertyDescriptors;
1
+ var E = Object.defineProperty, N = Object.defineProperties;
2
+ var P = Object.getOwnPropertyDescriptors;
3
3
  var A = Object.getOwnPropertySymbols;
4
- var v = Object.prototype.hasOwnProperty, b = Object.prototype.propertyIsEnumerable;
5
- var f = (e, i, t) => i in e ? P(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, m = (e, i) => {
4
+ var b = Object.prototype.hasOwnProperty, v = Object.prototype.propertyIsEnumerable;
5
+ var f = (e, i, t) => i in e ? E(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t, a = (e, i) => {
6
6
  for (var t in i || (i = {}))
7
- v.call(i, t) && f(e, t, i[t]);
7
+ b.call(i, t) && f(e, t, i[t]);
8
8
  if (A)
9
9
  for (var t of A(i))
10
- b.call(i, t) && f(e, t, i[t]);
10
+ v.call(i, t) && f(e, t, i[t]);
11
11
  return e;
12
- }, a = (e, i) => E(e, N(i));
12
+ }, m = (e, i) => N(e, P(i));
13
13
  var k = (e, i) => {
14
14
  var t = {};
15
15
  for (var o in e)
16
- v.call(e, o) && i.indexOf(o) < 0 && (t[o] = e[o]);
16
+ b.call(e, o) && i.indexOf(o) < 0 && (t[o] = e[o]);
17
17
  if (e != null && A)
18
18
  for (var o of A(e))
19
- i.indexOf(o) < 0 && b.call(e, o) && (t[o] = e[o]);
19
+ i.indexOf(o) < 0 && v.call(e, o) && (t[o] = e[o]);
20
20
  return t;
21
21
  };
22
22
  var s = (e, i, t) => (f(e, typeof i != "symbol" ? i + "" : i, t), t);
@@ -29,9 +29,8 @@ import "../../vendor/hammerjs/hammer.js";
29
29
  import "../../shared-utils/three/PointSelector/index.js";
30
30
  import "../../shared-utils/three/CSS3DRenderer/index.js";
31
31
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
32
- import { getLengthHTML as F } from "../utils/Meshes/getLengthHTML.js";
33
- import { localToWorld as H } from "../../shared-utils/three/applyObjectMatrixWorld.js";
34
- import { getFiveFromParentChain as S } from "../../shared-utils/five/getFiveFromParentChain.js";
32
+ import { getLengthHTML as H } from "../utils/Meshes/getLengthHTML.js";
33
+ import { localToWorld as S } from "../../shared-utils/three/applyObjectMatrixWorld.js";
35
34
  import "@realsee/five/line";
36
35
  import { notNil as g } from "../../shared-utils/isNil.js";
37
36
  import "../../shared-utils/three/core/Five_LineMaterial2.js";
@@ -44,9 +43,9 @@ import "../../vendor/earcut/src/earcut.js";
44
43
  import "../../shared-utils/five/FivePuppet.js";
45
44
  const x = "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==";
46
45
  let C = null;
47
- class nt extends T {
46
+ class st extends T {
48
47
  constructor(t) {
49
- var y, w, V;
48
+ var w, y, V;
50
49
  super();
51
50
  s(this, "name", "PointMesh");
52
51
  s(this, "dom");
@@ -77,21 +76,21 @@ class nt extends T {
77
76
  const M = {
78
77
  transparent: !0,
79
78
  side: n.DoubleSide,
80
- size: (y = t == null ? void 0 : t.size) != null ? y : 8,
79
+ size: (w = t == null ? void 0 : t.size) != null ? w : 8,
81
80
  map: C || (C = new n.TextureLoader().load(x)),
82
81
  sizeAttenuation: !1
83
- }, r = new n.PointsMaterial(a(m({}, M), {
84
- color: (w = t == null ? void 0 : t.color) != null ? w : 16777215,
82
+ }, l = new n.PointsMaterial(m(a({}, M), {
83
+ color: (y = t == null ? void 0 : t.color) != null ? y : 16777215,
85
84
  depthTest: !0,
86
85
  opacity: (V = t == null ? void 0 : t.opacity) != null ? V : 1
87
- })), D = new n.PointsMaterial(a(m({}, M), {
88
- size: r.size,
89
- color: r.color,
86
+ })), D = new n.PointsMaterial(m(a({}, M), {
87
+ size: l.size,
88
+ color: l.color,
90
89
  depthWrite: !1,
91
90
  depthTest: !1,
92
- opacity: r.opacity * 0.5
93
- })), l = new n.Points(u, r), d = new n.Points(u, D);
94
- this.fontMesh = l, this.backgroundMesh = d, l.name = "FontMesh", d.name = "BackgroundMesh", l.renderOrder = 10, d.renderOrder = 0, this.add(l, d), t != null && t.point && this.position.copy(W(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
91
+ opacity: l.opacity * 0.5
92
+ })), r = new n.Points(u, l), d = new n.Points(u, D);
93
+ this.fontMesh = r, this.backgroundMesh = d, r.name = "FontMesh", d.name = "BackgroundMesh", r.renderOrder = 10, d.renderOrder = 0, this.add(r, d), t != null && t.point && this.position.copy(W(t.point)), t && this.setStyle(t), this.addEventListener("removed", () => {
95
94
  c.cacheObject.delete(this), c.checkDom(this);
96
95
  }), this.addEventListener("added", () => {
97
96
  c.cacheObject.add(this);
@@ -113,7 +112,8 @@ class nt extends T {
113
112
  };
114
113
  }
115
114
  get five() {
116
- return S(this);
115
+ var t, o;
116
+ return (o = (t = window.globalModules) == null ? void 0 : t.five) != null ? o : window.$five;
117
117
  }
118
118
  setStyle(t) {
119
119
  g(t.color) && (this.fontMesh.material.setValues({ color: t.color }), this.backgroundMesh.material.setValues({ color: t.color })), g(t.size) && (this.fontMesh.material.setValues({ side: t.size }), this.backgroundMesh.material.setValues({ side: t.size })), g(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));
@@ -126,14 +126,14 @@ class nt extends T {
126
126
  }
127
127
  updateMatrixWorld(t) {
128
128
  super.updateMatrixWorld(t);
129
- const o = H(this, this.position).toArray().join(",");
129
+ const o = S(this, this.position).toArray().join(",");
130
130
  o !== this.lastRenderDomItem && (this.updateDom(), this.lastRenderDomItem = o);
131
131
  }
132
132
  updateDom() {
133
133
  const t = this.paramsStyle.tip;
134
- t && !this.dom && this.five && (this.dom = new B(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
134
+ t && !this.dom && (this.dom = new B(this.five), this.dom.intersectCheck = !1, this.dom.simulate3D = !0, this.dom.container.style.display = this.visible ? "block" : "none");
135
135
  const o = (h) => {
136
- this.dom && this.dom.__text !== h && (this.dom.__text = h, h instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(h)) : h ? this.dom.container.innerHTML = F(h, {
136
+ this.dom && this.dom.__text !== h && (this.dom.__text = h, h instanceof HTMLElement ? (this.dom.container.innerHTML = "", this.dom.container.appendChild(h)) : h ? this.dom.container.innerHTML = H(h, {
137
137
  style: "",
138
138
  offsetY: -20
139
139
  // 移动label到点的上方,否则会遮挡鼠标选点
@@ -143,5 +143,5 @@ class nt extends T {
143
143
  }
144
144
  }
145
145
  export {
146
- nt as PointMesh
146
+ st as PointMesh
147
147
  };
@@ -2,52 +2,51 @@ var f = Object.defineProperty, g = Object.defineProperties;
2
2
  var I = Object.getOwnPropertyDescriptors;
3
3
  var u = Object.getOwnPropertySymbols;
4
4
  var D = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
- var p = (i, t, e) => t in i ? f(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e, h = (i, t) => {
5
+ var p = (s, t, e) => t in s ? f(s, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[t] = e, h = (s, t) => {
6
6
  for (var e in t || (t = {}))
7
- D.call(t, e) && p(i, e, t[e]);
7
+ D.call(t, e) && p(s, e, t[e]);
8
8
  if (u)
9
9
  for (var e of u(t))
10
- _.call(t, e) && p(i, e, t[e]);
11
- return i;
12
- }, y = (i, t) => g(i, I(t));
13
- var r = (i, t, e) => (p(i, typeof t != "symbol" ? t + "" : t, e), e);
10
+ _.call(t, e) && p(s, e, t[e]);
11
+ return s;
12
+ }, y = (s, t) => g(s, I(t));
13
+ var i = (s, t, e) => (p(s, typeof t != "symbol" ? t + "" : t, e), e);
14
14
  import * as a from "three";
15
- import { generatePolygonGeometry as H } from "../../shared-utils/three/generatePolygonGeometry.js";
16
- import { anyPositionToVector3 as b } from "../../shared-utils/positionToVector3.js";
15
+ import { generatePolygonGeometry as b } from "../../shared-utils/three/generatePolygonGeometry.js";
16
+ import { anyPositionToVector3 as H } from "../../shared-utils/positionToVector3.js";
17
17
  import { ColoredMesh as S } from "../utils/three/ColoredMesh.js";
18
18
  import { getGeometryInfo as k } from "../../shared-utils/three/geometryUtil.js";
19
- import { LightTag as P } from "../../shared-utils/tag.js";
20
- import { getLengthHTML as v } from "../utils/Meshes/getLengthHTML.js";
21
- import { localToWorld as F } from "../../shared-utils/three/applyObjectMatrixWorld.js";
22
- import { getFiveFromParentChain as A } from "../../shared-utils/five/getFiveFromParentChain.js";
23
- import { transformUnitSquare as U } from "../utils/unit.js";
19
+ import { LightTag as v } from "../../shared-utils/tag.js";
20
+ import { getLengthHTML as P } from "../utils/Meshes/getLengthHTML.js";
21
+ import { localToWorld as A } from "../../shared-utils/three/applyObjectMatrixWorld.js";
22
+ import { transformUnitSquare as w } from "../utils/unit.js";
24
23
  import { RenderDom as m } from "../utils/renderDom.js";
25
- const c = new a.BufferGeometry();
26
- c.name = "blankGeometry";
27
- c.isBlank = !0;
28
- class G extends S {
24
+ const d = new a.BufferGeometry();
25
+ d.name = "blankGeometry";
26
+ d.isBlank = !0;
27
+ class j extends S {
29
28
  constructor(e) {
30
29
  super(e);
31
- r(this, "name", "PolygonMesh");
32
- r(this, "points", []);
33
- r(this, "planeHelperNeedUpdate", !0);
34
- r(this, "geometryInfoNeedUpdate", !0);
35
- r(this, "_paramsStyle");
36
- r(this, "areaDom");
37
- r(this, "planeHelper", null);
38
- r(this, "_geometryInfo", null);
39
- r(this, "lastRenderAreaItem");
40
- r(this, "_onAdded", () => {
30
+ i(this, "name", "PolygonMesh");
31
+ i(this, "points", []);
32
+ i(this, "planeHelperNeedUpdate", !0);
33
+ i(this, "geometryInfoNeedUpdate", !0);
34
+ i(this, "_paramsStyle");
35
+ i(this, "areaDom");
36
+ i(this, "planeHelper", null);
37
+ i(this, "_geometryInfo", null);
38
+ i(this, "lastRenderAreaItem");
39
+ i(this, "_onAdded", () => {
41
40
  this.areaDom || this.updateAreaItems();
42
41
  });
43
- r(this, "_onRemoved", () => {
42
+ i(this, "_onRemoved", () => {
44
43
  var e;
45
44
  (e = this.areaDom) == null || e.destroy(), this.areaDom = void 0;
46
45
  });
47
- r(this, "_onShowed", () => {
46
+ i(this, "_onShowed", () => {
48
47
  this.areaDom && (this.areaDom.container.style.display = "block");
49
48
  });
50
- r(this, "_onHidden", () => {
49
+ i(this, "_onHidden", () => {
51
50
  this.areaDom && (this.areaDom.container.style.display = "none");
52
51
  });
53
52
  e != null && e.points && this.setPoints(e.points), this._paramsStyle = e != null ? e : {}, this.updateAreaItems(), this.addEventListener("removed", () => {
@@ -73,24 +72,25 @@ class G extends S {
73
72
  return this.geometryInfoNeedUpdate && (this.isBlank ? this._geometryInfo = null : this._geometryInfo = k(this.geometry), this.geometryInfoNeedUpdate = !1), this._geometryInfo;
74
73
  }
75
74
  get five() {
76
- return A(this);
75
+ var e, r;
76
+ return (r = (e = window.globalModules) == null ? void 0 : e.five) != null ? r : window.$five;
77
77
  }
78
78
  updateMatrixWorld(e) {
79
79
  if (super.updateMatrixWorld(e), this.center) {
80
- const s = F(this, this.center).toArray().join(",");
81
- s !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = s);
80
+ const r = A(this, this.center).toArray().join(",");
81
+ r !== this.lastRenderAreaItem && (this.updateAreaItems(), this.lastRenderAreaItem = r);
82
82
  }
83
83
  }
84
84
  setStyle(e) {
85
85
  var n;
86
86
  this._paramsStyle = h(h({}, this._paramsStyle), e), super.setStyle(this._paramsStyle);
87
- const s = (n = this._paramsStyle.occlusionVisibility) != null ? n : !0;
88
- this.areaDom && (this.areaDom.intersectCheck = !s), this.updateAreaItems();
87
+ const r = (n = this._paramsStyle.occlusionVisibility) != null ? n : !0;
88
+ this.areaDom && (this.areaDom.intersectCheck = !r), this.updateAreaItems();
89
89
  }
90
- setPoints(e, s) {
90
+ setPoints(e, r) {
91
91
  var o, l;
92
- const n = e.map(b);
93
- this.points = n, this.geometry = (l = H(this.points, { checkLinesIntersect: (o = s == null ? void 0 : s.checkLinesIntersect) != null ? o : !0 })) != null ? l : c, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
92
+ const n = e.map(H);
93
+ this.points = n, this.geometry = (l = b(this.points, { checkLinesIntersect: (o = r == null ? void 0 : r.checkLinesIntersect) != null ? o : !0 })) != null ? l : d, this.planeHelperNeedUpdate = !0, this.geometryInfoNeedUpdate = !0, this.updateAreaItems();
94
94
  }
95
95
  /**
96
96
  * @description: 获取一个点投影在当前平面上的点
@@ -112,16 +112,16 @@ class G extends S {
112
112
  if (!this.five)
113
113
  return console.error("Five not found");
114
114
  this.areaDom = (n = this.areaDom) != null ? n : (() => {
115
- var d;
116
- const o = new P(this.five), l = (d = this._paramsStyle.occlusionVisibility) != null ? d : !0;
115
+ var c;
116
+ const o = new v(this.five), l = (c = this._paramsStyle.occlusionVisibility) != null ? c : !0;
117
117
  return o.intersectCheck = !l, o.simulate3D = !0, o;
118
118
  })(), this.areaDom.setPosition(this.center);
119
- const s = U(this.geometryInfo.area, this._paramsStyle.lengthUnit);
120
- s ? this.areaDom.container.innerHTML = v(s, {
119
+ const r = w(this.geometryInfo.area, this._paramsStyle.lengthUnit);
120
+ r ? this.areaDom.container.innerHTML = P(r, {
121
121
  style: "color: #FFFFFF; background: #3366FF"
122
122
  }) : this.areaDom.container.innerHTML = "";
123
123
  }
124
124
  }
125
125
  export {
126
- G as PolygonMesh
126
+ j as PolygonMesh
127
127
  };
@@ -90,7 +90,7 @@ const d = class extends E {
90
90
  });
91
91
  this.five = e, this.theme = t, this.config = g({
92
92
  magnifier: { width: 190, height: 190, scale: 2, dragEnabled: !0 }
93
- }, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, this.group.__five__ = this.five, e.scene.add(this.group), d.modules.init(e, this.config), x("ctrl+z, command+z", this.undo), x("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: c, origDomEvent: s }) => {
93
+ }, i), this.group = new z(), this.group.name = "Sculpt", this.group.__sculpt__ = this, e.scene.add(this.group), d.modules.init(e, this.config), x("ctrl+z, command+z", this.undo), x("ctrl+shift+z, command+shift+z", this.redo), d.modules.fiveDomEvents.addEventListener(this.group, "click", ({ intersects: c, origDomEvent: s }) => {
94
94
  var o;
95
95
  const r = F((o = c == null ? void 0 : c[0]) == null ? void 0 : o.object, (h) => h.isSculptObject);
96
96
  return r && !r.editing ? this.emit("click", s, r) : !1;
@@ -2,8 +2,8 @@ var l = Object.defineProperty;
2
2
  var u = (n, e, o) => e in n ? l(n, e, { enumerable: !0, configurable: !0, writable: !0, value: o }) : n[e] = o;
3
3
  var r = (n, e, o) => (u(n, typeof e != "symbol" ? e + "" : e, o), o);
4
4
  import { DeleteButtonBgBorder as a } from "./DeleteButtonBgBorder.js";
5
- import { DeleteIconSVG as d } from "./DeleteIconSVG.js";
6
- const p = {
5
+ import { DeleteIconSVG as p } from "./DeleteIconSVG.js";
6
+ const d = {
7
7
  auto: "",
8
8
  pen: "",
9
9
  "pen-forbidden": "",
@@ -13,7 +13,7 @@ const p = {
13
13
  "crosshair-rectangle": "",
14
14
  "crosshair-circle": ""
15
15
  }, h = {
16
- position: "fixed",
16
+ position: "absolute",
17
17
  width: "34px",
18
18
  height: "34px",
19
19
  transform: "translate(-50%, -40px)",
@@ -30,10 +30,10 @@ const p = {
30
30
  backgroundRepeat: "no-repeat"
31
31
  }, m = `
32
32
  <div style="width: 32px; height: 32px; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center;">
33
- ${d}
33
+ ${p}
34
34
  </div>
35
35
  `;
36
- class f {
36
+ class B {
37
37
  constructor(e) {
38
38
  r(this, "container");
39
39
  r(this, "deleteButton");
@@ -43,7 +43,7 @@ class f {
43
43
  * @param type - The type of the cursor.
44
44
  */
45
45
  setType(e) {
46
- const o = p[e];
46
+ const o = d[e];
47
47
  o ? this.container.style.cursor = `url(${o}), auto` : this.container.style.cursor = e;
48
48
  }
49
49
  showDeleteButton(e) {
@@ -66,5 +66,5 @@ class f {
66
66
  }
67
67
  }
68
68
  export {
69
- f as Cursor
69
+ B as Cursor
70
70
  };
@@ -23,7 +23,7 @@ let I = class {
23
23
  /**
24
24
  * @realsee/dnalogel 版本号
25
25
  */
26
- r(this, "VERSION", "3.77.3-alpha.1");
26
+ r(this, "VERSION", "3.77.4-alpha.0");
27
27
  r(this, "NAME");
28
28
  r(this, "five");
29
29
  r(this, "workUtil");