@realsee/dnalogel 3.21.2 → 3.23.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 (466) hide show
  1. package/dist/ModelMakerPlugin/Controller.d.ts +26 -0
  2. package/dist/ModelMakerPlugin/index.d.ts +4 -0
  3. package/dist/ModelMakerPlugin/item/baseItem.d.ts +36 -0
  4. package/dist/ModelMakerPlugin/item/boxItem.d.ts +4 -0
  5. package/dist/ModelMakerPlugin/item/polygonItem.d.ts +9 -0
  6. package/dist/ModelMakerPlugin/item/prismItem.d.ts +4 -0
  7. package/dist/ModelMakerPlugin/typings/data.d.ts +41 -0
  8. package/dist/ModelMakerPlugin/typings/index.d.ts +52 -0
  9. package/dist/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
  10. package/dist/ModelMakerPlugin/utils/tagRenderer.d.ts +3 -0
  11. package/dist/Sculpt/Meshes/Area.d.ts +2 -23
  12. package/dist/Sculpt/Meshes/Polygon.d.ts +3 -0
  13. package/dist/Sculpt/Meshes/PolygonWithEdge.d.ts +22 -0
  14. package/dist/Sculpt/Meshes/Polyline.d.ts +9 -7
  15. package/dist/Sculpt/Meshes/Prism.d.ts +5 -3
  16. package/dist/Sculpt/Objects/Base/index.d.ts +4 -2
  17. package/dist/Sculpt/Objects/Polygon/Editor.d.ts +2 -1
  18. package/dist/Sculpt/Objects/Polyline/Editor.d.ts +3 -6
  19. package/dist/Sculpt/index.d.ts +32 -8
  20. package/dist/Sculpt/typings/utils.type.d.ts +4 -1
  21. package/dist/base/BasePlugin.d.ts +2 -2
  22. package/dist/base/BasePluginWithData.d.ts +0 -2
  23. package/dist/index.cjs.js +54 -54
  24. package/dist/index.d.ts +1 -0
  25. package/dist/index.js +4775 -4429
  26. package/dist/index.umd.js +47 -47
  27. package/dist/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
  28. package/dist/shared-utils/five/FiveDomEvents.d.ts +1 -1
  29. package/dist/shared-utils/five/vector3ToScreen.d.ts +5 -0
  30. package/dist/shared-utils/tag.d.ts +19 -0
  31. package/dist/shared-utils/three/addIfNotExists.d.ts +2 -0
  32. package/dist/shared-utils/three/closeVectors.d.ts +2 -0
  33. package/dist/shared-utils/three/earcut3D.d.ts +2 -0
  34. package/docs/assets/search.js +1 -1
  35. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +7 -5
  36. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +10 -8
  37. package/docs/classes/CSS3DRender.html +5 -3
  38. package/docs/classes/GuideLineItem.GuideLineItem.html +5 -3
  39. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +5 -3
  40. package/docs/classes/ModelMakerPluginType.ModelMakerController.html +561 -0
  41. package/docs/classes/ModelRoomLabelController.html +5 -3
  42. package/docs/classes/MoveController.html +5 -3
  43. package/docs/classes/Object3DHelperController.html +5 -3
  44. package/docs/classes/PaintBrush.html +5 -3
  45. package/docs/classes/PanoMeasurePluginLine.html +5 -3
  46. package/docs/classes/PanoMeasurePluginModel.html +5 -3
  47. package/docs/classes/PanoMeasurePluginPoint.html +5 -3
  48. package/docs/classes/PanoMeasurePluginPolyline.html +5 -3
  49. package/docs/classes/PanoTagPluginController.html +10 -8
  50. package/docs/classes/Sculpt.html +35 -33
  51. package/docs/classes/Util.BetterTween.html +5 -3
  52. package/docs/classes/Util.Interval.html +5 -3
  53. package/docs/classes/Util.LineSegments.html +5 -3
  54. package/docs/classes/Util.Magnifier.html +5 -3
  55. package/docs/classes/Util.Object3D.html +5 -3
  56. package/docs/classes/Util.PointDomHelper.html +5 -3
  57. package/docs/classes/Util.PointHelper.html +5 -3
  58. package/docs/classes/Util.PointSelectorHelper.html +5 -3
  59. package/docs/classes/Util.Rectangle.html +5 -3
  60. package/docs/classes/WalkController.html +5 -3
  61. package/docs/enums/CameraMovementEffect.html +5 -3
  62. package/docs/enums/ContentType.html +5 -3
  63. package/docs/enums/DIRECTION.html +5 -3
  64. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -3
  65. package/docs/enums/DimensionType.html +5 -3
  66. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +5 -3
  67. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -3
  68. package/docs/enums/PaintBrushTypeEnum.html +5 -3
  69. package/docs/enums/PointType.html +5 -3
  70. package/docs/enums/Rotation.html +5 -3
  71. package/docs/functions/AreaMakerPlugin.html +5 -3
  72. package/docs/functions/CSS3DRenderPlugin.html +5 -3
  73. package/docs/functions/CameraMovementPlugin.html +5 -3
  74. package/docs/functions/CruisePlugin.html +5 -3
  75. package/docs/functions/CurrentPanoImagePlugin.html +5 -3
  76. package/docs/functions/GuideLinePlugin.html +5 -3
  77. package/docs/functions/ItemLabelPlugin.html +5 -3
  78. package/docs/functions/MapviewFloorplanPlugin.html +5 -3
  79. package/docs/functions/ModelChassisCompassPlugin.html +5 -3
  80. package/docs/functions/ModelEntryDoorGuidePlugin.html +5 -3
  81. package/docs/functions/ModelFloorplanPlugin.html +5 -3
  82. package/docs/functions/ModelItemLabelPlugin.html +5 -3
  83. package/docs/functions/ModelMakerPlugin.html +300 -0
  84. package/docs/functions/ModelRoomLabelPlugin.html +5 -3
  85. package/docs/functions/ModelTVVideoPlugin.html +5 -3
  86. package/docs/functions/ModelViewPlugin.html +5 -3
  87. package/docs/functions/MovePlugin.html +5 -3
  88. package/docs/functions/Object3DHelperPlugin.html +5 -3
  89. package/docs/functions/PanoCompassPlugin.html +5 -3
  90. package/docs/functions/PanoCursorRaycasterPlugin.html +5 -3
  91. package/docs/functions/PanoDoorLabelPlugin.html +5 -3
  92. package/docs/functions/PanoFloorplanRadarPlugin.html +5 -3
  93. package/docs/functions/PanoMeasurePlugin.html +5 -3
  94. package/docs/functions/PanoRulerPlugin.html +5 -3
  95. package/docs/functions/PanoRulerProPlugin.html +5 -3
  96. package/docs/functions/PanoSpatialTagPlugin.html +5 -3
  97. package/docs/functions/PanoTagPlugin.html +5 -3
  98. package/docs/functions/PanoVideoPlugin.html +5 -3
  99. package/docs/functions/PipelinePlugin.html +5 -3
  100. package/docs/functions/TopviewFloorplanPlugin.html +5 -3
  101. package/docs/functions/Util.absoluteUrl.html +5 -3
  102. package/docs/functions/Util.checkFiveModelLoaded.html +5 -3
  103. package/docs/functions/Util.equal.html +5 -3
  104. package/docs/functions/Util.getCoordsFromClient.html +5 -3
  105. package/docs/functions/Util.getCoordsFromElement.html +5 -3
  106. package/docs/functions/Util.getFrameTime.html +5 -3
  107. package/docs/functions/Util.getIntersectFromRelativePosition.html +5 -3
  108. package/docs/functions/Util.getRaycasterFromFivePointer.html +5 -3
  109. package/docs/functions/Util.isAbsoluteURL.html +5 -3
  110. package/docs/functions/Util.isModelLike.html +5 -3
  111. package/docs/functions/Util.isNil.html +5 -3
  112. package/docs/functions/Util.isPanoramaLike.html +5 -3
  113. package/docs/functions/Util.nextFrame.html +5 -3
  114. package/docs/functions/Util.notNil.html +5 -3
  115. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -3
  116. package/docs/functions/Util.tweenProgress.html +5 -3
  117. package/docs/functions/Util.uuid.html +5 -3
  118. package/docs/functions/pluginFlag.html +5 -3
  119. package/docs/index.html +6 -4
  120. package/docs/interfaces/AddTagConfig.html +5 -3
  121. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +5 -3
  122. package/docs/interfaces/AreaMakerPluginType.Config.html +5 -3
  123. package/docs/interfaces/AreaMakerPluginType.EventMap.html +9 -7
  124. package/docs/interfaces/AreaMakerPluginType.Params.html +5 -3
  125. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +5 -3
  126. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +5 -3
  127. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +5 -3
  128. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +5 -3
  129. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +5 -3
  130. package/docs/interfaces/AreaMakerPluginType.State.html +5 -3
  131. package/docs/interfaces/CSS3DRenderPluginEventMap.html +5 -3
  132. package/docs/interfaces/CSS3DRenderPluginState.html +5 -3
  133. package/docs/interfaces/CameraMovementPluginExportType.html +5 -3
  134. package/docs/interfaces/CruisePluginTypes.Config.html +5 -3
  135. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +5 -3
  136. package/docs/interfaces/CruisePluginTypes.EventMap.html +5 -3
  137. package/docs/interfaces/CruisePluginTypes.MoveAction.html +5 -3
  138. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +5 -3
  139. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +5 -3
  140. package/docs/interfaces/CruisePluginTypes.PluginData.html +5 -3
  141. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +5 -3
  142. package/docs/interfaces/CruisePluginTypes.PluginState.html +5 -3
  143. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +5 -3
  144. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +5 -3
  145. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +5 -3
  146. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +5 -3
  147. package/docs/interfaces/CurrentPanoImagePluginType.State.html +5 -3
  148. package/docs/interfaces/EventMap.html +5 -3
  149. package/docs/interfaces/FloorplanBounding.html +5 -3
  150. package/docs/interfaces/FloorplanData.html +5 -3
  151. package/docs/interfaces/FloorplanEntrance.html +5 -3
  152. package/docs/interfaces/FloorplanExtraObject.html +5 -3
  153. package/docs/interfaces/FloorplanExtraObject3D.html +5 -3
  154. package/docs/interfaces/FloorplanFloorData.html +5 -3
  155. package/docs/interfaces/FloorplanImagePosition.html +5 -3
  156. package/docs/interfaces/FloorplanObserver.html +5 -3
  157. package/docs/interfaces/FloorplanOutlineItem.html +5 -3
  158. package/docs/interfaces/FloorplanPosition.html +5 -3
  159. package/docs/interfaces/FloorplanRoomItem.html +5 -3
  160. package/docs/interfaces/FloorplanRoomLabelItem.html +5 -3
  161. package/docs/interfaces/FloorplanServerBounding.html +5 -3
  162. package/docs/interfaces/FloorplanServerComputedData.html +5 -3
  163. package/docs/interfaces/FloorplanServerData.html +5 -3
  164. package/docs/interfaces/FloorplanServerDoorItem.html +5 -3
  165. package/docs/interfaces/FloorplanServerDoorPosition.html +5 -3
  166. package/docs/interfaces/FloorplanServerEntrance.html +5 -3
  167. package/docs/interfaces/FloorplanServerFloorData.html +5 -3
  168. package/docs/interfaces/FloorplanServerImagePosition.html +5 -3
  169. package/docs/interfaces/FloorplanServerObserver.html +5 -3
  170. package/docs/interfaces/FloorplanServerOutlineItem.html +5 -3
  171. package/docs/interfaces/FloorplanServerPosition.html +5 -3
  172. package/docs/interfaces/FloorplanServerRoomItem.html +5 -3
  173. package/docs/interfaces/FloorplanServerRoomLabelItem.html +5 -3
  174. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +5 -3
  175. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +5 -3
  176. package/docs/interfaces/GuideLinePluginType.EventMap.html +5 -3
  177. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +5 -3
  178. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -3
  179. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +5 -3
  180. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +5 -3
  181. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -3
  182. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +5 -3
  183. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +5 -3
  184. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +5 -3
  185. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +5 -3
  186. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +5 -3
  187. package/docs/interfaces/GuideLinePluginType.PluginState.html +5 -3
  188. package/docs/interfaces/GuideLinePluginType.Route.html +5 -3
  189. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +5 -3
  190. package/docs/interfaces/HelperOffset.html +5 -3
  191. package/docs/interfaces/ImagePlaneGroup.html +5 -3
  192. package/docs/interfaces/ItemLabelPluginData.html +5 -3
  193. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +5 -3
  194. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -3
  195. package/docs/interfaces/MinMax.html +5 -3
  196. package/docs/interfaces/ModelChassisCompassPluginData.html +5 -3
  197. package/docs/interfaces/ModelChassisCompassPluginExportType.html +5 -3
  198. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +5 -3
  199. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +5 -3
  200. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +5 -3
  201. package/docs/interfaces/ModelItemLabelPluginData.html +5 -3
  202. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +5 -3
  203. package/docs/interfaces/ModelItemLabelPluginParametersType.html +5 -3
  204. package/docs/interfaces/ModelMakerPluginType.EventMap.html +588 -0
  205. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +340 -0
  206. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +376 -0
  207. package/docs/interfaces/ModelMakerPluginType.ServerData.html +329 -0
  208. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +371 -0
  209. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +365 -0
  210. package/docs/interfaces/ModelMakerPluginType.State.html +361 -0
  211. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -3
  212. package/docs/interfaces/ModelTVVideoPluginData.html +5 -3
  213. package/docs/interfaces/ModelTVVideoPluginExportType.html +5 -3
  214. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -3
  215. package/docs/interfaces/ModelViewPluginExportType.html +5 -3
  216. package/docs/interfaces/Object3DHelperState.html +5 -3
  217. package/docs/interfaces/ObjectHelperControllers.html +5 -3
  218. package/docs/interfaces/PaintBrushAction.html +5 -3
  219. package/docs/interfaces/PaintBrushConfigs.html +5 -3
  220. package/docs/interfaces/PaintBrushState.html +5 -3
  221. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +5 -3
  222. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +5 -3
  223. package/docs/interfaces/PanoMeasureParameterType.html +5 -3
  224. package/docs/interfaces/PanoMeasurePluginLineJson.html +5 -3
  225. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +5 -3
  226. package/docs/interfaces/PanoMeasurePluginPointJson.html +5 -3
  227. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +5 -3
  228. package/docs/interfaces/PanoRulerPluginExportType.html +5 -3
  229. package/docs/interfaces/PanoRulerPluginOptions.html +5 -3
  230. package/docs/interfaces/PanoRulerPluginParameterType.html +5 -3
  231. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -3
  232. package/docs/interfaces/PanoRulerProPluginOptions.html +5 -3
  233. package/docs/interfaces/PanoRulerProPluginParameterType.html +5 -3
  234. package/docs/interfaces/PanoRulerProPluginState.html +5 -3
  235. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +5 -3
  236. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +5 -3
  237. package/docs/interfaces/PanoSpatialTagPluginData.html +5 -3
  238. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +5 -3
  239. package/docs/interfaces/PanoSpatialTagPluginExportType.html +5 -3
  240. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +5 -3
  241. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +5 -3
  242. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +5 -3
  243. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +5 -3
  244. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -3
  245. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +5 -3
  246. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -3
  247. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +5 -3
  248. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -3
  249. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +5 -3
  250. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +5 -3
  251. package/docs/interfaces/Point.html +5 -3
  252. package/docs/interfaces/Room.html +5 -3
  253. package/docs/interfaces/RoomInfo.html +5 -3
  254. package/docs/interfaces/RoomLabel.html +5 -3
  255. package/docs/interfaces/RoomRules.html +5 -3
  256. package/docs/interfaces/Rooms.html +5 -3
  257. package/docs/interfaces/Scissor.html +5 -3
  258. package/docs/interfaces/State.html +5 -3
  259. package/docs/interfaces/TagCacheInterface.html +5 -3
  260. package/docs/interfaces/TagConfig.html +5 -3
  261. package/docs/interfaces/TagGLTFObjectGroup.html +5 -3
  262. package/docs/interfaces/TagIconUrl.html +5 -3
  263. package/docs/interfaces/TagObjectGroup.html +5 -3
  264. package/docs/interfaces/TagStyle.html +5 -3
  265. package/docs/interfaces/Tags.html +5 -3
  266. package/docs/interfaces/TemporaryState.html +5 -3
  267. package/docs/interfaces/Util.MagnifierParameter.html +5 -3
  268. package/docs/interfaces/Util.MouseGroupParameter.html +5 -3
  269. package/docs/interfaces/Util.PointIntersection.html +5 -3
  270. package/docs/modules/AreaMakerPluginType.html +5 -3
  271. package/docs/modules/CruisePluginTypes.html +5 -3
  272. package/docs/modules/CurrentPanoImagePluginType.html +5 -3
  273. package/docs/modules/GuideLineItem.html +5 -3
  274. package/docs/modules/GuideLineModeItem.html +5 -3
  275. package/docs/modules/GuideLinePluginType.html +5 -3
  276. package/docs/modules/ModelMakerPluginType.html +325 -0
  277. package/docs/modules/PanoVideoPluginType.html +5 -3
  278. package/docs/modules/Util.html +5 -3
  279. package/docs/modules.html +8 -4
  280. package/docs/types/AddObject3DHelperConfig.html +5 -3
  281. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +5 -3
  282. package/docs/types/AreaMakerPluginType.ItemRenderer.html +5 -3
  283. package/docs/types/AreaMakerPluginType.PluginData.html +5 -3
  284. package/docs/types/AreaMakerPluginType.ServerData.html +5 -3
  285. package/docs/types/ArrayPosition.html +5 -3
  286. package/docs/types/AudioAppearance.html +5 -3
  287. package/docs/types/AudioTagTypeConfigKey.html +5 -3
  288. package/docs/types/CSS3DRenderExportType.html +5 -3
  289. package/docs/types/CSS3DRenderPluginExportType.html +5 -3
  290. package/docs/types/CSS3DRenderPluginParameterType.html +5 -3
  291. package/docs/types/ClassFunctionParameters.html +5 -3
  292. package/docs/types/Color.html +5 -3
  293. package/docs/types/ContentTypeConfigKey.html +5 -3
  294. package/docs/types/ContentTypeConfigKeySplit.html +5 -3
  295. package/docs/types/ContentTypeMap.html +5 -3
  296. package/docs/types/Create3DDomContainerReturnType.html +5 -3
  297. package/docs/types/Create3DElementReturnType.html +5 -3
  298. package/docs/types/CruisePluginExportType.html +5 -3
  299. package/docs/types/CruisePluginTypes.CruiseData.html +5 -3
  300. package/docs/types/CruisePluginTypes.MoveEffect.html +5 -3
  301. package/docs/types/CurrentPanoImagePluginExportType.html +5 -3
  302. package/docs/types/DeprecatedMediaPlaneProperty.html +5 -3
  303. package/docs/types/DeprecatedTagProperty.html +5 -3
  304. package/docs/types/Direction-1.html +5 -3
  305. package/docs/types/Direction4.html +5 -3
  306. package/docs/types/ElementRenderer.html +5 -3
  307. package/docs/types/FloorplanRuleLabels.html +5 -3
  308. package/docs/types/FloorplanServerRuleLabels.html +5 -3
  309. package/docs/types/GuideLinePluginExportType.html +5 -3
  310. package/docs/types/GuideLinePluginType.GuideLineItem.html +5 -3
  311. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +5 -3
  312. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +5 -3
  313. package/docs/types/GuideLinePluginType.GuideLineStyle.html +5 -3
  314. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +5 -3
  315. package/docs/types/GuideLinePluginType.PathItem.html +5 -3
  316. package/docs/types/GuideLinePluginType.PluginData.html +5 -3
  317. package/docs/types/HelperEventMap.html +5 -3
  318. package/docs/types/InternalHelperEventMap.html +5 -3
  319. package/docs/types/LoadTagConfig.html +5 -3
  320. package/docs/types/MapviewFloorplanPluginParameterType.html +5 -3
  321. package/docs/types/MapviewFloorplanPluginReturnType.html +5 -3
  322. package/docs/types/MediaData.html +5 -3
  323. package/docs/types/MediaStore.html +5 -3
  324. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +5 -3
  325. package/docs/types/ModelFloorplanPluginParameterType.html +5 -3
  326. package/docs/types/ModelFloorplanPluginReturnType.html +5 -3
  327. package/docs/types/ModelId.html +5 -3
  328. package/docs/types/ModelMakerPluginType.ElementRenderer.html +326 -0
  329. package/docs/types/ModelMakerPluginType.ItemType.html +305 -0
  330. package/docs/types/ModelRoomLabelPluginParameters.html +5 -3
  331. package/docs/types/ModelRoomLabelPluginReturnType.html +5 -3
  332. package/docs/types/MoveArgs.html +5 -3
  333. package/docs/types/MoveOpts.html +5 -3
  334. package/docs/types/Object3DHelperEventMap.html +5 -3
  335. package/docs/types/ObjectFit.html +5 -3
  336. package/docs/types/PaintBrushEventMap.html +5 -3
  337. package/docs/types/PanoCompassPluginData.html +5 -3
  338. package/docs/types/PanoCompassPluginExportType.html +5 -3
  339. package/docs/types/PanoCompassPluginParameterType.html +5 -3
  340. package/docs/types/PanoFloorplanRadarPluginParameterType.html +5 -3
  341. package/docs/types/PanoFloorplanRadarPluginReturnType.html +5 -3
  342. package/docs/types/PanoIndex.html +5 -3
  343. package/docs/types/PanoMeasurePluginEvent.html +5 -3
  344. package/docs/types/PanoMeasureReturnType.html +5 -3
  345. package/docs/types/PanoSpatialTagPluginId.html +5 -3
  346. package/docs/types/PanoTagPluginExportInterface.html +5 -3
  347. package/docs/types/PanoTagPluginParamsInterface.html +5 -3
  348. package/docs/types/PanoVideoPluginParameterType.html +5 -3
  349. package/docs/types/PanoVideoPluginReturnType.html +5 -3
  350. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +5 -3
  351. package/docs/types/PipelinePluginParameterType.html +5 -3
  352. package/docs/types/PipelinePluginReturnType.html +5 -3
  353. package/docs/types/PlaneTag.html +5 -3
  354. package/docs/types/Point2DTag.html +5 -3
  355. package/docs/types/Point3DTag.html +5 -3
  356. package/docs/types/PointTag.html +5 -3
  357. package/docs/types/PointTagInstance.html +5 -3
  358. package/docs/types/Position.html +5 -3
  359. package/docs/types/PositionFrom.html +5 -3
  360. package/docs/types/RotateArgs.html +5 -3
  361. package/docs/types/RotateOpts.html +5 -3
  362. package/docs/types/RuleLabelsKey.html +5 -3
  363. package/docs/types/RuleLabelsValue.html +5 -3
  364. package/docs/types/ScaleCallback.html +5 -3
  365. package/docs/types/ScalePosition.html +5 -3
  366. package/docs/types/StickType.html +5 -3
  367. package/docs/types/Tag.html +5 -3
  368. package/docs/types/Tag2D.html +5 -3
  369. package/docs/types/Tag3D.html +5 -3
  370. package/docs/types/TagConfigByKey.html +5 -3
  371. package/docs/types/TagContentType.html +5 -3
  372. package/docs/types/TagContentTypeMapping.html +5 -3
  373. package/docs/types/TagDimensionType.html +5 -3
  374. package/docs/types/TagElement.html +5 -3
  375. package/docs/types/TagEvents.html +5 -3
  376. package/docs/types/TagGLTFObject.html +5 -3
  377. package/docs/types/TagHooks.html +5 -3
  378. package/docs/types/TagId.html +5 -3
  379. package/docs/types/TagInstance.html +5 -3
  380. package/docs/types/TagPointType.html +5 -3
  381. package/docs/types/TagRendererMap.html +5 -3
  382. package/docs/types/TopviewFloorplanPluginParameterType.html +5 -3
  383. package/docs/types/TopviewFloorplanPluginReturnType.html +5 -3
  384. package/docs/types/WorkCode.html +5 -3
  385. package/docs/variables/FLOOR_TYPE_MAP.html +5 -3
  386. package/docs/variables/PLUGIN.html +5 -3
  387. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +5 -3
  388. package/docs/variables/ROOM_TYPE_MAP.html +5 -3
  389. package/docs/variables/defaultGlobalConfig.html +5 -3
  390. package/docs/variables/itemLabelPluginServerParams.html +5 -3
  391. package/docs/variables/modelItemLabelPluginServerParams.html +5 -3
  392. package/docs/variables/modelRoomLabelPluginServerParams.html +5 -3
  393. package/libs/AreaMakerPlugin/utils/Item.js +12 -13
  394. package/libs/GuideLinePlugin/Controller.js +15 -15
  395. package/libs/ModelMakerPlugin/Controller.d.ts +26 -0
  396. package/libs/ModelMakerPlugin/Controller.js +203 -0
  397. package/libs/ModelMakerPlugin/index.d.ts +4 -0
  398. package/libs/ModelMakerPlugin/index.js +61 -0
  399. package/libs/ModelMakerPlugin/item/baseItem.d.ts +36 -0
  400. package/libs/ModelMakerPlugin/item/baseItem.js +57 -0
  401. package/libs/ModelMakerPlugin/item/boxItem.d.ts +4 -0
  402. package/libs/ModelMakerPlugin/item/boxItem.js +20 -0
  403. package/libs/ModelMakerPlugin/item/polygonItem.d.ts +9 -0
  404. package/libs/ModelMakerPlugin/item/polygonItem.js +38 -0
  405. package/libs/ModelMakerPlugin/item/prismItem.d.ts +4 -0
  406. package/libs/ModelMakerPlugin/item/prismItem.js +32 -0
  407. package/libs/ModelMakerPlugin/typings/data.d.ts +41 -0
  408. package/libs/ModelMakerPlugin/typings/data.js +1 -0
  409. package/libs/ModelMakerPlugin/typings/index.d.ts +52 -0
  410. package/libs/ModelMakerPlugin/typings/index.js +1 -0
  411. package/libs/ModelMakerPlugin/utils/Text.js +45 -0
  412. package/libs/ModelMakerPlugin/utils/Text.svelte.d.ts +1 -0
  413. package/libs/ModelMakerPlugin/utils/tagRenderer.d.ts +3 -0
  414. package/libs/ModelMakerPlugin/utils/tagRenderer.js +26 -0
  415. package/libs/PanoMeasurePlugin/Components/Controller0.js +4 -2
  416. package/libs/PanoMeasurePlugin/Components/Controller1.js +4 -2
  417. package/libs/PanoMeasurePlugin/Controller/EditController.js +4 -2
  418. package/libs/PanoMeasurePlugin/Controller/WatchController.js +4 -2
  419. package/libs/PanoMeasurePlugin/Controller/index.js +4 -2
  420. package/libs/PanoMeasurePlugin/Model/area.js +4 -2
  421. package/libs/PanoMeasurePlugin/Model/polygon.js +12 -10
  422. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +4 -2
  423. package/libs/PanoMeasurePlugin/index.js +15 -13
  424. package/libs/Sculpt/Meshes/Area.d.ts +2 -23
  425. package/libs/Sculpt/Meshes/Area.js +9 -52
  426. package/libs/Sculpt/Meshes/Point.js +19 -19
  427. package/libs/Sculpt/Meshes/Polygon.d.ts +3 -0
  428. package/libs/Sculpt/Meshes/Polygon.js +26 -20
  429. package/libs/Sculpt/Meshes/PolygonWithEdge.d.ts +22 -0
  430. package/libs/Sculpt/Meshes/PolygonWithEdge.js +46 -0
  431. package/libs/Sculpt/Meshes/Polyline.d.ts +9 -7
  432. package/libs/Sculpt/Meshes/Polyline.js +42 -38
  433. package/libs/Sculpt/Meshes/Prism.d.ts +5 -3
  434. package/libs/Sculpt/Meshes/Prism.js +33 -28
  435. package/libs/Sculpt/Objects/Base/index.d.ts +4 -2
  436. package/libs/Sculpt/Objects/Polygon/Editor.d.ts +2 -1
  437. package/libs/Sculpt/Objects/Polygon/Editor.js +5 -5
  438. package/libs/Sculpt/Objects/Polygon/index.js +17 -17
  439. package/libs/Sculpt/Objects/Polyline/Editor.d.ts +3 -6
  440. package/libs/Sculpt/Objects/Polyline/Editor.js +24 -32
  441. package/libs/Sculpt/index.d.ts +32 -8
  442. package/libs/Sculpt/index.js +6 -6
  443. package/libs/Sculpt/typings/utils.type.d.ts +4 -1
  444. package/libs/base/BasePlugin.d.ts +2 -2
  445. package/libs/base/BasePlugin.js +1 -1
  446. package/libs/base/BasePluginWithData.d.ts +0 -2
  447. package/libs/components/AreaLabel/LabelItem.js +61 -61
  448. package/libs/index.d.ts +1 -0
  449. package/libs/index.js +138 -123
  450. package/libs/shared-utils/Object3DHelper/utils/boundingBox.d.ts +12 -0
  451. package/libs/shared-utils/Object3DHelper/utils/boundingBox.js +44 -22
  452. package/libs/shared-utils/five/FiveDomEvents.d.ts +1 -1
  453. package/libs/shared-utils/five/FiveDomEvents.js +6 -5
  454. package/libs/shared-utils/five/vector3ToScreen.d.ts +5 -0
  455. package/libs/shared-utils/five/vector3ToScreen.js +7 -0
  456. package/libs/shared-utils/logger.js +1 -1
  457. package/libs/shared-utils/tag.d.ts +19 -0
  458. package/libs/shared-utils/tag.js +50 -0
  459. package/libs/shared-utils/three/addIfNotExists.d.ts +2 -0
  460. package/libs/shared-utils/three/addIfNotExists.js +8 -0
  461. package/libs/shared-utils/three/closeVectors.d.ts +2 -0
  462. package/libs/shared-utils/three/closeVectors.js +10 -0
  463. package/libs/shared-utils/three/earcut3D.d.ts +2 -0
  464. package/libs/shared-utils/three/earcut3D.js +12 -0
  465. package/libs/shared-utils/three/generatePolygonGeometry.js +8 -10
  466. package/package.json +1 -1
package/libs/index.js CHANGED
@@ -1,61 +1,62 @@
1
1
  import { consoleVersion as o } from "./shared-utils/logger.js";
2
2
  import { autoFixOffscreenCanvas as r } from "./shared-utils/offscreenCanvas.js";
3
- import { PaintBrush as Ue } from "./components/PaintBrush/index.js";
4
- import { PaintBrushTypeEnum as ke } from "./components/PaintBrush/typings.js";
5
- import { ModelViewPlugin as We } from "./ModelViewPlugin/Plugin.js";
6
- import { CSS3DRenderPlugin as ze } from "./CSS3DRenderPlugin/index.js";
7
- import { PanoCursorRaycasterPlugin as Ke } from "./PanoCursorRaycasterPlugin/index.js";
8
- import { ModelRoomLabelPlugin as Xe, modelRoomLabelPluginServerParams as Ze } from "./ModelRoomLabelPlugin/index.js";
9
- import { FLOOR_PLAN_ATTACHED_TO as rl } from "./floorplan/constant.js";
10
- import { ModelFloorplanPlugin as il } from "./floorplan/ModelFloorplanPlugin/index.js";
11
- import { MapviewFloorplanPlugin as pl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
- import { TopviewFloorplanPlugin as ll } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
- import { PanoFloorplanRadarPlugin as al } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
- import { FLOOR_TYPE_MAP as ul, ROOM_FETILE_TYPE_MAP as fl, ROOM_TYPE_MAP as xl } from "./floorplan/typings/floorplanServerData.js";
15
- import { ModelChassisCompassPlugin as sl } from "./ModelChassisCompassPlugin/Plugin.js";
16
- import { ModelEntryDoorGuidePlugin as Ml } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
- import { CameraMovementPlugin as Ll } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
- import { CameraMovementEffect as _l, Rotation as El } from "./CameraMovementPlugin/typing.js";
19
- import { PanoRulerPlugin as Rl } from "./PanoRulerPlugin/Plugin.js";
20
- import { PanoRulerProPlugin as Sl } from "./PanoRulerProPlugin/index.js";
21
- import { PanoCompassPlugin as Al } from "./PanoCompassPlugin/index.js";
22
- import { PanoMeasurePlugin as Gl } from "./PanoMeasurePlugin/index.js";
23
- import { PanoSpatialTagPlugin as vl } from "./PanoSpatialTagPlugin/Plugin.js";
24
- import { modelItemLabelPluginServerParams as Yl } from "./ModelItemLabelPlugin/index.js";
25
- import { ModelTVVideoPlugin as Vl } from "./ModelTVVideoPlugin/Plugin.js";
26
- import { DIRECTION as hl } from "./ModelTVVideoPlugin/typings.js";
27
- import { itemLabelPluginServerParams as Bl } from "./ItemLabelPlugin/index.js";
28
- import { PanoDoorLabelPlugin as Ul } from "./PanoDoorLabelPlugin/index.js";
29
- import { GuideLinePlugin as kl } from "./GuideLinePlugin/index.js";
30
- import { CruisePlugin as Wl, MovePlugin as ql } from "./CruisePlugin/index.js";
31
- import { PanoTagPlugin as Jl } from "./PanoTagPlugin/index.js";
32
- import { Object3DHelperPlugin as Ql } from "./Object3DHelperPlugin/index.js";
33
- import { PanoVideoPlugin as Zl } from "./PanoVideoPlugin/index.js";
34
- import { PipelinePlugin as rn } from "./PipelinePlugin/index.js";
35
- import { AreaMakerPlugin as mn } from "./AreaMakerPlugin/index.js";
36
- import { CurrentPanoImagePlugin as en } from "./CurrentPanoImagePlugin/index.js";
37
- import { Sculpt as nn } from "./Sculpt/index.js";
38
- import { index as Pn } from "./shared-utils/index.js";
39
- import { CSS3DRender as fn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
40
- import { Model as gn } from "./PanoMeasurePlugin/Model/index.js";
41
- import { default as dn } from "./PanoMeasurePlugin/Model/point.js";
42
- import { default as Tn } from "./PanoMeasurePlugin/Model/line.js";
43
- import { Polyline as Cn } from "./PanoMeasurePlugin/Model/polyline.js";
44
- import { Magnifier as En } from "./shared-utils/three/Magnifier.js";
45
- import { DISPLAY_STRATEGY_TYPE as Rn } from "./ModelItemLabelPlugin/typings.js";
46
- import { ModelItemLabelPlugin as Sn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
47
- import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as An } from "./ItemLabelPlugin/typings.js";
48
- import { Plugin as Gn } from "./ItemLabelPlugin/Plugin.js";
49
- import { GuideLineItem$1 as vn } from "./GuideLinePlugin/GuideLineItem/index.js";
50
- import { GuideLineModeItem$1 as Yn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
51
- import { default as Vn, default as Nn } from "./CruisePlugin/Work.js";
52
- import { default as wn } from "./CruisePlugin/Move.js";
53
- import { typing as Hn } from "./CruisePlugin/typing/index.js";
54
- import { default as jn, pluginFlag as kn } from "./PanoTagPlugin/controller/index.js";
55
- import { defaultGlobalConfig as Wn } from "./PanoTagPlugin/typings/tag/TagConfig.js";
56
- import { ContentType as zn, DimensionType as Jn, PointType as Kn } from "./PanoTagPlugin/Archive/deprecated.js";
57
- import { Object3DHelperController as Xn, PLUGIN as Zn } from "./Object3DHelperPlugin/Controller.js";
58
- import { typings as ra } from "./PanoVideoPlugin/typings/index.js";
3
+ import { PaintBrush as rl } from "./components/PaintBrush/index.js";
4
+ import { PaintBrushTypeEnum as il } from "./components/PaintBrush/typings.js";
5
+ import { ModelViewPlugin as pl } from "./ModelViewPlugin/Plugin.js";
6
+ import { CSS3DRenderPlugin as ll } from "./CSS3DRenderPlugin/index.js";
7
+ import { PanoCursorRaycasterPlugin as al } from "./PanoCursorRaycasterPlugin/index.js";
8
+ import { ModelRoomLabelPlugin as ul, modelRoomLabelPluginServerParams as fl } from "./ModelRoomLabelPlugin/index.js";
9
+ import { FLOOR_PLAN_ATTACHED_TO as gl } from "./floorplan/constant.js";
10
+ import { ModelFloorplanPlugin as dl } from "./floorplan/ModelFloorplanPlugin/index.js";
11
+ import { MapviewFloorplanPlugin as Tl } from "./floorplan/MapviewFloorplanPlugin/index.js";
12
+ import { TopviewFloorplanPlugin as Cl } from "./floorplan/TopviewFloorplanPlugin/index.js";
13
+ import { PanoFloorplanRadarPlugin as El } from "./floorplan/PanoFloorplanRadarPlugin/index.js";
14
+ import { FLOOR_TYPE_MAP as Rl, ROOM_FETILE_TYPE_MAP as Ol, ROOM_TYPE_MAP as Sl } from "./floorplan/typings/floorplanServerData.js";
15
+ import { ModelChassisCompassPlugin as Al } from "./ModelChassisCompassPlugin/Plugin.js";
16
+ import { ModelEntryDoorGuidePlugin as Gl } from "./ModelEntryDoorGuidePlugin/Plugin.js";
17
+ import { CameraMovementPlugin as vl } from "./CameraMovementPlugin/CameraMovementPlugin.js";
18
+ import { CameraMovementEffect as Yl, Rotation as cl } from "./CameraMovementPlugin/typing.js";
19
+ import { PanoRulerPlugin as Nl } from "./PanoRulerPlugin/Plugin.js";
20
+ import { PanoRulerProPlugin as kl } from "./PanoRulerProPlugin/index.js";
21
+ import { PanoCompassPlugin as Bl } from "./PanoCompassPlugin/index.js";
22
+ import { PanoMeasurePlugin as Ul } from "./PanoMeasurePlugin/index.js";
23
+ import { PanoSpatialTagPlugin as $l } from "./PanoSpatialTagPlugin/Plugin.js";
24
+ import { modelItemLabelPluginServerParams as ql } from "./ModelItemLabelPlugin/index.js";
25
+ import { ModelTVVideoPlugin as Jl } from "./ModelTVVideoPlugin/Plugin.js";
26
+ import { DIRECTION as Ql } from "./ModelTVVideoPlugin/typings.js";
27
+ import { itemLabelPluginServerParams as Zl } from "./ItemLabelPlugin/index.js";
28
+ import { PanoDoorLabelPlugin as rn } from "./PanoDoorLabelPlugin/index.js";
29
+ import { GuideLinePlugin as mn } from "./GuideLinePlugin/index.js";
30
+ import { CruisePlugin as en, MovePlugin as ln } from "./CruisePlugin/index.js";
31
+ import { PanoTagPlugin as an } from "./PanoTagPlugin/index.js";
32
+ import { Object3DHelperPlugin as un } from "./Object3DHelperPlugin/index.js";
33
+ import { PanoVideoPlugin as xn } from "./PanoVideoPlugin/index.js";
34
+ import { PipelinePlugin as sn } from "./PipelinePlugin/index.js";
35
+ import { AreaMakerPlugin as Mn } from "./AreaMakerPlugin/index.js";
36
+ import { CurrentPanoImagePlugin as Ln } from "./CurrentPanoImagePlugin/index.js";
37
+ import { Sculpt as _n } from "./Sculpt/index.js";
38
+ import { ModelMakerPlugin as In } from "./ModelMakerPlugin/index.js";
39
+ import { index as On } from "./shared-utils/index.js";
40
+ import { CSS3DRender as yn } from "./CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
+ import { Model as Dn } from "./PanoMeasurePlugin/Model/index.js";
42
+ import { default as bn } from "./PanoMeasurePlugin/Model/point.js";
43
+ import { default as Fn } from "./PanoMeasurePlugin/Model/line.js";
44
+ import { Polyline as cn } from "./PanoMeasurePlugin/Model/polyline.js";
45
+ import { Magnifier as Nn } from "./shared-utils/three/Magnifier.js";
46
+ import { DISPLAY_STRATEGY_TYPE as kn } from "./ModelItemLabelPlugin/typings.js";
47
+ import { ModelItemLabelPlugin as Bn } from "./ModelItemLabelPlugin/ModelItemLabelPlugin.js";
48
+ import { ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE as Un } from "./ItemLabelPlugin/typings.js";
49
+ import { Plugin as $n } from "./ItemLabelPlugin/Plugin.js";
50
+ import { GuideLineItem$1 as qn } from "./GuideLinePlugin/GuideLineItem/index.js";
51
+ import { GuideLineModeItem$1 as Jn } from "./GuideLinePlugin/GuideLineModeItem/index.js";
52
+ import { default as Qn, default as Xn } from "./CruisePlugin/Work.js";
53
+ import { default as oa } from "./CruisePlugin/Move.js";
54
+ import { typing as ta } from "./CruisePlugin/typing/index.js";
55
+ import { default as ma, pluginFlag as pa } from "./PanoTagPlugin/controller/index.js";
56
+ import { defaultGlobalConfig as la } from "./PanoTagPlugin/typings/tag/TagConfig.js";
57
+ import { ContentType as aa, DimensionType as Pa, PointType as ua } from "./PanoTagPlugin/Archive/deprecated.js";
58
+ import { Object3DHelperController as xa, PLUGIN as ga } from "./Object3DHelperPlugin/Controller.js";
59
+ import { typings as da } from "./PanoVideoPlugin/typings/index.js";
59
60
  import "./components/PaintBrush/Controller.js";
60
61
  import "./components/PaintBrush/utils.js";
61
62
  import "./components/PaintBrush/tween.js";
@@ -177,7 +178,9 @@ import "./PanoMeasurePlugin/Model/area.js";
177
178
  import "./PanoMeasurePlugin/Model/polygon.js";
178
179
  import "./shared-utils/three/IObject3D.js";
179
180
  import "./shared-utils/three/generatePolygonGeometry.js";
181
+ import "./shared-utils/three/earcut3D.js";
180
182
  import "earcut";
183
+ import "./shared-utils/three/getNormal.js";
181
184
  import "./PanoMeasurePlugin/utils/dom/areaDom.js";
182
185
  import "./shared-utils/three/geometryUtil.js";
183
186
  import "./shared-utils/isNil.js";
@@ -286,7 +289,6 @@ import "./shared-utils/math/pointIsRectangle.js";
286
289
  import "./shared-utils/three/loadVideoTexture.js";
287
290
  import "./shared-utils/three/getPositionsByObjectFit.js";
288
291
  import "./shared-utils/three/FragmentTransparencyMaterial.js";
289
- import "./shared-utils/three/getNormal.js";
290
292
  import "./shared-utils/five/FiveDomEvents.js";
291
293
  import "./shared-utils/five/calculateThreeMouse.js";
292
294
  import "./PanoTagPlugin/utils/tag/adaptConfig.js";
@@ -432,6 +434,7 @@ import "./Sculpt/Meshes/LineWithDots.js";
432
434
  import "./Sculpt/Meshes/Point.js";
433
435
  import "./Sculpt/utils/color.js";
434
436
  import "./Sculpt/Meshes/Line.js";
437
+ import "./shared-utils/three/closeVectors.js";
435
438
  import "./Sculpt/Objects/Base/index.js";
436
439
  import "./Sculpt/Objects/Polyline/Editor.js";
437
440
  import "./Sculpt/Objects/Base/Editor.js";
@@ -440,6 +443,7 @@ import "./Sculpt/Objects/Point/index.js";
440
443
  import "./Sculpt/Objects/Point/Editor.js";
441
444
  import "./Sculpt/Objects/Polygon/index.js";
442
445
  import "./Sculpt/Meshes/Area.js";
446
+ import "./Sculpt/Meshes/PolygonWithEdge.js";
443
447
  import "./Sculpt/Meshes/Polygon.js";
444
448
  import "./Sculpt/utils/three/ColoredMesh.js";
445
449
  import "./Sculpt/Objects/Polygon/Editor.js";
@@ -463,6 +467,16 @@ import "./Sculpt/Objects/Cylinder/Editor.js";
463
467
  import "./Sculpt/Objects/Box/index.js";
464
468
  import "./Sculpt/Objects/Box/Editor.js";
465
469
  import "./Sculpt/Meshes/Box.js";
470
+ import "./ModelMakerPlugin/Controller.js";
471
+ import "./ModelMakerPlugin/item/boxItem.js";
472
+ import "./ModelMakerPlugin/item/polygonItem.js";
473
+ import "./ModelMakerPlugin/item/baseItem.js";
474
+ import "./shared-utils/three/addIfNotExists.js";
475
+ import "./shared-utils/tag.js";
476
+ import "./shared-utils/five/vector3ToScreen.js";
477
+ import "./ModelMakerPlugin/utils/tagRenderer.js";
478
+ import "./ModelMakerPlugin/utils/Text.js";
479
+ import "./ModelMakerPlugin/item/prismItem.js";
466
480
  import "./shared-utils/math/Interval.js";
467
481
  import "./shared-utils/math/Rectangle.js";
468
482
  import "./shared-utils/five/index.js";
@@ -472,70 +486,71 @@ import "./shared-utils/three/getIntersect.js";
472
486
  r();
473
487
  o();
474
488
  export {
475
- mn as AreaMakerPlugin,
476
- fn as CSS3DRender,
477
- ze as CSS3DRenderPlugin,
478
- _l as CameraMovementEffect,
479
- Ll as CameraMovementPlugin,
480
- zn as ContentType,
481
- Wl as CruisePlugin,
482
- Vn as CruisePluginController,
483
- Hn as CruisePluginTypes,
484
- en as CurrentPanoImagePlugin,
485
- hl as DIRECTION,
486
- Rn as DISPLAY_STRATEGY_TYPE,
487
- Jn as DimensionType,
488
- rl as FLOOR_PLAN_ATTACHED_TO,
489
- ul as FLOOR_TYPE_MAP,
490
- vn as GuideLineItem,
491
- Yn as GuideLineModeItem,
492
- kl as GuideLinePlugin,
493
- An as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
494
- Gn as ItemLabelPlugin,
495
- En as Magnifier,
496
- pl as MapviewFloorplanPlugin,
497
- sl as ModelChassisCompassPlugin,
498
- Ml as ModelEntryDoorGuidePlugin,
499
- il as ModelFloorplanPlugin,
500
- Sn as ModelItemLabelPlugin,
501
- Xe as ModelRoomLabelPlugin,
502
- Vl as ModelTVVideoPlugin,
503
- We as ModelViewPlugin,
504
- wn as MoveController,
505
- ql as MovePlugin,
506
- Xn as Object3DHelperController,
507
- Ql as Object3DHelperPlugin,
508
- Zn as PLUGIN,
509
- Ue as PaintBrush,
510
- ke as PaintBrushTypeEnum,
511
- Al as PanoCompassPlugin,
512
- Ke as PanoCursorRaycasterPlugin,
513
- Ul as PanoDoorLabelPlugin,
514
- al as PanoFloorplanRadarPlugin,
515
- Gl as PanoMeasurePlugin,
516
- Tn as PanoMeasurePluginLine,
517
- gn as PanoMeasurePluginModel,
518
- dn as PanoMeasurePluginPoint,
519
- Cn as PanoMeasurePluginPolyline,
520
- Rl as PanoRulerPlugin,
521
- Sl as PanoRulerProPlugin,
522
- vl as PanoSpatialTagPlugin,
523
- Jl as PanoTagPlugin,
524
- jn as PanoTagPluginController,
525
- Zl as PanoVideoPlugin,
526
- ra as PanoVideoPluginType,
527
- rn as PipelinePlugin,
528
- Kn as PointType,
529
- fl as ROOM_FETILE_TYPE_MAP,
530
- xl as ROOM_TYPE_MAP,
531
- El as Rotation,
532
- nn as Sculpt,
533
- ll as TopviewFloorplanPlugin,
534
- Pn as Util,
535
- Nn as WalkController,
536
- Wn as defaultGlobalConfig,
537
- Bl as itemLabelPluginServerParams,
538
- Yl as modelItemLabelPluginServerParams,
539
- Ze as modelRoomLabelPluginServerParams,
540
- kn as pluginFlag
489
+ Mn as AreaMakerPlugin,
490
+ yn as CSS3DRender,
491
+ ll as CSS3DRenderPlugin,
492
+ Yl as CameraMovementEffect,
493
+ vl as CameraMovementPlugin,
494
+ aa as ContentType,
495
+ en as CruisePlugin,
496
+ Qn as CruisePluginController,
497
+ ta as CruisePluginTypes,
498
+ Ln as CurrentPanoImagePlugin,
499
+ Ql as DIRECTION,
500
+ kn as DISPLAY_STRATEGY_TYPE,
501
+ Pa as DimensionType,
502
+ gl as FLOOR_PLAN_ATTACHED_TO,
503
+ Rl as FLOOR_TYPE_MAP,
504
+ qn as GuideLineItem,
505
+ Jn as GuideLineModeItem,
506
+ mn as GuideLinePlugin,
507
+ Un as ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE,
508
+ $n as ItemLabelPlugin,
509
+ Nn as Magnifier,
510
+ Tl as MapviewFloorplanPlugin,
511
+ Al as ModelChassisCompassPlugin,
512
+ Gl as ModelEntryDoorGuidePlugin,
513
+ dl as ModelFloorplanPlugin,
514
+ Bn as ModelItemLabelPlugin,
515
+ In as ModelMakerPlugin,
516
+ ul as ModelRoomLabelPlugin,
517
+ Jl as ModelTVVideoPlugin,
518
+ pl as ModelViewPlugin,
519
+ oa as MoveController,
520
+ ln as MovePlugin,
521
+ xa as Object3DHelperController,
522
+ un as Object3DHelperPlugin,
523
+ ga as PLUGIN,
524
+ rl as PaintBrush,
525
+ il as PaintBrushTypeEnum,
526
+ Bl as PanoCompassPlugin,
527
+ al as PanoCursorRaycasterPlugin,
528
+ rn as PanoDoorLabelPlugin,
529
+ El as PanoFloorplanRadarPlugin,
530
+ Ul as PanoMeasurePlugin,
531
+ Fn as PanoMeasurePluginLine,
532
+ Dn as PanoMeasurePluginModel,
533
+ bn as PanoMeasurePluginPoint,
534
+ cn as PanoMeasurePluginPolyline,
535
+ Nl as PanoRulerPlugin,
536
+ kl as PanoRulerProPlugin,
537
+ $l as PanoSpatialTagPlugin,
538
+ an as PanoTagPlugin,
539
+ ma as PanoTagPluginController,
540
+ xn as PanoVideoPlugin,
541
+ da as PanoVideoPluginType,
542
+ sn as PipelinePlugin,
543
+ ua as PointType,
544
+ Ol as ROOM_FETILE_TYPE_MAP,
545
+ Sl as ROOM_TYPE_MAP,
546
+ cl as Rotation,
547
+ _n as Sculpt,
548
+ Cl as TopviewFloorplanPlugin,
549
+ On as Util,
550
+ Xn as WalkController,
551
+ la as defaultGlobalConfig,
552
+ Zl as itemLabelPluginServerParams,
553
+ ql as modelItemLabelPluginServerParams,
554
+ fl as modelRoomLabelPluginServerParams,
555
+ pa as pluginFlag
541
556
  };
@@ -1,2 +1,14 @@
1
1
  import * as THREE from 'three';
2
+ export declare function boxVertex(box: {
3
+ max: {
4
+ x: number;
5
+ y: number;
6
+ z: number;
7
+ };
8
+ min: {
9
+ x: number;
10
+ y: number;
11
+ z: number;
12
+ };
13
+ }, index: number): THREE.Vector3;
2
14
  export default function boundingBox(object3D: THREE.Object3D): THREE.Box3 | undefined;
@@ -1,32 +1,54 @@
1
- import * as P from "three";
2
- function A(B) {
3
- const n = new P.Box3(), r = new P.Vector3();
4
- if (B.updateWorldMatrix(!1, !1), B.traverse((t) => {
5
- var e;
1
+ import * as m from "three";
2
+ function P(z, n) {
3
+ const { max: e, min: t } = z;
4
+ switch (n) {
5
+ case 0:
6
+ return new m.Vector3(e.x, e.y, e.z);
7
+ case 1:
8
+ return new m.Vector3(t.x, e.y, e.z);
9
+ case 2:
10
+ return new m.Vector3(t.x, t.y, e.z);
11
+ case 3:
12
+ return new m.Vector3(e.x, t.y, e.z);
13
+ case 4:
14
+ return new m.Vector3(e.x, e.y, t.z);
15
+ case 5:
16
+ return new m.Vector3(t.x, e.y, t.z);
17
+ case 6:
18
+ return new m.Vector3(t.x, t.y, t.z);
19
+ case 7:
20
+ return new m.Vector3(e.x, t.y, t.z);
21
+ }
22
+ }
23
+ function g(z) {
24
+ const n = new m.Box3(), e = new m.Vector3();
25
+ if (z.updateWorldMatrix(!1, !1), z.traverse((t) => {
26
+ var s;
6
27
  if (t.name === "shadow" || t.type === "Line2")
7
28
  return;
8
- const o = t.geometry;
9
- if (t.updateWorldMatrix(!1, !1), o !== void 0) {
10
- const i = (e = o == null ? void 0 : o.attributes) == null ? void 0 : e.position;
11
- if (i)
12
- for (let s = 0, c = i.count; s < c; s++)
13
- r.fromBufferAttribute(i, s).applyMatrix4(t.matrixWorld), n.expandByPoint(r);
29
+ const r = t.geometry;
30
+ if (t.updateWorldMatrix(!1, !1), r !== void 0) {
31
+ const c = (s = r == null ? void 0 : r.attributes) == null ? void 0 : s.position;
32
+ if (c)
33
+ for (let o = 0, i = c.count; o < i; o++)
34
+ e.fromBufferAttribute(c, o).applyMatrix4(t.matrixWorld), n.expandByPoint(e);
14
35
  else
15
- o.vertices && o.vertices.forEach((s) => {
16
- const c = s.clone().applyMatrix4(t.matrixWorld);
17
- n.expandByPoint(c);
36
+ r.vertices && r.vertices.forEach((o) => {
37
+ const i = o.clone().applyMatrix4(t.matrixWorld);
38
+ n.expandByPoint(i);
18
39
  });
19
40
  }
20
41
  }), !n.isEmpty())
21
- return n.applyMatrix4(g(B.matrixWorld.clone())), n;
42
+ return n.applyMatrix4(h(z.matrixWorld.clone())), n;
22
43
  }
23
- const g = (B) => {
24
- const n = B.elements, r = n[0], t = n[1], o = n[2], e = n[3], i = n[4], s = n[5], c = n[6], a = n[7], f = n[8], l = n[9], p = n[10], d = n[11], u = n[12], x = n[13], m = n[14], v = n[15], M = l * m * a - x * p * a + x * c * d - s * m * d - l * c * v + s * p * v, W = u * p * a - f * m * a - u * c * d + i * m * d + f * c * v - i * p * v, E = f * x * a - u * l * a + u * s * d - i * x * d - f * s * v + i * l * v, w = u * l * c - f * x * c - u * s * p + i * x * p + f * s * m - i * l * m, h = r * M + t * W + o * E + e * w;
25
- if (h === 0)
26
- return B.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
27
- const y = 1 / h;
28
- return n[0] = M * y, n[1] = (x * p * e - l * m * e - x * o * d + t * m * d + l * o * v - t * p * v) * y, n[2] = (s * m * e - x * c * e + x * o * a - t * m * a - s * o * v + t * c * v) * y, n[3] = (l * c * e - s * p * e - l * o * a + t * p * a + s * o * d - t * c * d) * y, n[4] = W * y, n[5] = (f * m * e - u * p * e + u * o * d - r * m * d - f * o * v + r * p * v) * y, n[6] = (u * c * e - i * m * e - u * o * a + r * m * a + i * o * v - r * c * v) * y, n[7] = (i * p * e - f * c * e + f * o * a - r * p * a - i * o * d + r * c * d) * y, n[8] = E * y, n[9] = (u * l * e - f * x * e - u * t * d + r * x * d + f * t * v - r * l * v) * y, n[10] = (i * x * e - u * s * e + u * t * a - r * x * a - i * t * v + r * s * v) * y, n[11] = (f * s * e - i * l * e - f * t * a + r * l * a + i * t * d - r * s * d) * y, n[12] = w * y, n[13] = (f * x * o - u * l * o + u * t * p - r * x * p - f * t * m + r * l * m) * y, n[14] = (u * s * o - i * x * o - u * t * c + r * x * c + i * t * m - r * s * m) * y, n[15] = (i * l * o - f * s * o + f * t * c - r * l * c - i * t * p + r * s * p) * y, B;
44
+ const h = (z) => {
45
+ const n = z.elements, e = n[0], t = n[1], r = n[2], s = n[3], c = n[4], o = n[5], i = n[6], a = n[7], u = n[8], x = n[9], f = n[10], l = n[11], p = n[12], y = n[13], d = n[14], w = n[15], v = x * d * a - y * f * a + y * i * l - o * d * l - x * i * w + o * f * w, B = p * f * a - u * d * a - p * i * l + c * d * l + u * i * w - c * f * w, M = u * y * a - p * x * a + p * o * l - c * y * l - u * o * w + c * x * w, W = p * x * i - u * y * i - p * o * f + c * y * f + u * o * d - c * x * d, E = e * v + t * B + r * M + s * W;
46
+ if (E === 0)
47
+ return z.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
48
+ const V = 1 / E;
49
+ return n[0] = v * V, n[1] = (y * f * s - x * d * s - y * r * l + t * d * l + x * r * w - t * f * w) * V, n[2] = (o * d * s - y * i * s + y * r * a - t * d * a - o * r * w + t * i * w) * V, n[3] = (x * i * s - o * f * s - x * r * a + t * f * a + o * r * l - t * i * l) * V, n[4] = B * V, n[5] = (u * d * s - p * f * s + p * r * l - e * d * l - u * r * w + e * f * w) * V, n[6] = (p * i * s - c * d * s - p * r * a + e * d * a + c * r * w - e * i * w) * V, n[7] = (c * f * s - u * i * s + u * r * a - e * f * a - c * r * l + e * i * l) * V, n[8] = M * V, n[9] = (p * x * s - u * y * s - p * t * l + e * y * l + u * t * w - e * x * w) * V, n[10] = (c * y * s - p * o * s + p * t * a - e * y * a - c * t * w + e * o * w) * V, n[11] = (u * o * s - c * x * s - u * t * a + e * x * a + c * t * l - e * o * l) * V, n[12] = W * V, n[13] = (u * y * r - p * x * r + p * t * f - e * y * f - u * t * d + e * x * d) * V, n[14] = (p * o * r - c * y * r - p * t * i + e * y * i + c * t * d - e * o * d) * V, n[15] = (c * x * r - u * o * r + u * t * i - e * x * i - c * t * f + e * o * f) * V, z;
29
50
  };
30
51
  export {
31
- A as boundingBox
52
+ g as boundingBox,
53
+ P as boxVertex
32
54
  };
@@ -94,7 +94,7 @@ export declare class FiveDomEvents {
94
94
  * @return {void}
95
95
  */
96
96
  addEventListener<T extends EventName = EventName>(object: Object3DWithEvent, event: T, callback: FiveDomEventMap[T], config?: EventHandlerConfig): void;
97
- removeEventListener(object: Object3DWithEvent, event: EventName, callback: (e: FiveDomEvent) => any, ...args: any[]): void;
97
+ removeEventListener(object: Object3DWithEvent, event: EventName, callback?: (e: FiveDomEvent) => any, ...args: any[]): void;
98
98
  dispose(): void;
99
99
  private getRaycaster;
100
100
  private handleWantsGesture;
@@ -1,18 +1,18 @@
1
1
  var L = Object.defineProperty;
2
2
  var b = Object.getOwnPropertySymbols;
3
- var D = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable;
3
+ var D = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
4
4
  var p = (h, e, t) => e in h ? L(h, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : h[e] = t, y = (h, e) => {
5
5
  for (var t in e || (e = {}))
6
6
  D.call(e, t) && p(h, t, e[t]);
7
7
  if (b)
8
8
  for (var t of b(e))
9
- w.call(e, t) && p(h, t, e[t]);
9
+ H.call(e, t) && p(h, t, e[t]);
10
10
  return h;
11
11
  };
12
12
  var d = (h, e, t) => (p(h, typeof e != "symbol" ? e + "" : e, t), t);
13
- import * as H from "three";
13
+ import * as w from "three";
14
14
  import { getObjectVisible as M } from "../three/getObjectVisible.js";
15
- import { calculateThreeMouse as x } from "./calculateThreeMouse.js";
15
+ import { calculateThreeMouse as $ } from "./calculateThreeMouse.js";
16
16
  class I {
17
17
  constructor(e) {
18
18
  d(this, "five");
@@ -175,6 +175,7 @@ class I {
175
175
  var s, l;
176
176
  if (!e._domEvent || !e._domEvent[`${t}Handler`])
177
177
  return;
178
+ n === void 0 && delete e._domEvent[`${t}Handler`];
178
179
  const o = e._domEvent[`${t}Handler`].findIndex((u) => u[0] === n);
179
180
  if (o !== -1 && (e._domEvent[`${t}Handler`].splice(o, 1), e._domEvent[`${t}Handler`].length === 0 && delete e._domEvent[`${t}Handler`], e._domEvent && Object.keys(e._domEvent).length === 0 && delete e._domEvent, !e._domEvent)) {
180
181
  const u = (s = this.boundObject[t]) == null ? void 0 : s.findIndex((a) => a === e);
@@ -189,7 +190,7 @@ class I {
189
190
  const t = this.five.getElement();
190
191
  if (!t)
191
192
  return;
192
- const n = x(e, t), i = new H.Raycaster();
193
+ const n = $(e, t), i = new w.Raycaster();
193
194
  return i.setFromCamera(n, this.five.camera), i;
194
195
  }
195
196
  }
@@ -0,0 +1,5 @@
1
+ import type * as THREE from 'three';
2
+ export default function vector3ToScreen(camera: THREE.Camera, vector3: THREE.Vector3): {
3
+ leftPercent: number;
4
+ topPercent: number;
5
+ };
@@ -0,0 +1,7 @@
1
+ function i(e, n) {
2
+ const { x: t, y: o, z: r } = n.clone().project(e);
3
+ return r > 1 ? void 0 : { leftPercent: (t + 1) / 2 * 100, topPercent: (-o + 1) / 2 * 100 };
4
+ }
5
+ export {
6
+ i as vector3ToScreen
7
+ };
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.21.2",
3
+ "%c %c@realsee/dnalogel %cv3.23.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",
@@ -0,0 +1,19 @@
1
+ import type { Five } from '@realsee/five';
2
+ import { type AnyPosition } from './positionToVector3';
3
+ export declare class LightTag {
4
+ container: HTMLDivElement;
5
+ visible: boolean;
6
+ enabled: boolean;
7
+ private five;
8
+ private position;
9
+ private wrapper;
10
+ constructor(five: Five, position: AnyPosition);
11
+ show(): void;
12
+ hide(params?: {
13
+ withAnimation?: boolean;
14
+ }): void;
15
+ enable(): void;
16
+ disable(): void;
17
+ private onCameraUpdate;
18
+ }
19
+ export declare function tag(five: Five, position: AnyPosition): LightTag;
@@ -0,0 +1,50 @@
1
+ var o = Object.defineProperty;
2
+ var a = (i, t, e) => t in i ? o(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
3
+ var n = (i, t, e) => (a(i, typeof t != "symbol" ? t + "" : t, e), e);
4
+ import { anyPositionToVector3 as r } from "./positionToVector3.js";
5
+ import { vector3ToScreen as h } from "./five/vector3ToScreen.js";
6
+ const s = "LightTagContainer_shgjakdhwakjdhsja";
7
+ class l {
8
+ constructor(t, e) {
9
+ n(this, "container", (() => {
10
+ const t = document.createElement("div");
11
+ return t.style.position = "absolute", t;
12
+ })());
13
+ n(this, "visible", !1);
14
+ n(this, "enabled", !1);
15
+ n(this, "five");
16
+ n(this, "position");
17
+ n(this, "wrapper");
18
+ n(this, "onCameraUpdate", () => {
19
+ if (this.visible === !1)
20
+ return;
21
+ const t = h(this.five.camera, this.position);
22
+ t ? (this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.style.left = t.leftPercent + "%", this.container.style.top = t.topPercent + "%") : (this.container.style.opacity = "0", this.container.style.pointerEvents = "none");
23
+ });
24
+ this.five = t, this.position = r(e).clone(), this.enable(), this.show();
25
+ }
26
+ show() {
27
+ this.visible = !0, this.container.style.opacity = "1", this.container.style.pointerEvents = "auto", this.container.classList.add("withAnimation"), this.onCameraUpdate();
28
+ }
29
+ hide(t) {
30
+ this.visible = !1, t != null && t.withAnimation ? this.container.classList.add("withAnimation") : this.container.classList.remove("withAnimation"), this.container.style.opacity = "0", this.container.style.pointerEvents = "none";
31
+ }
32
+ enable() {
33
+ var t;
34
+ this.enabled || (this.enabled = !0, this.wrapper = (t = document.getElementById(s)) != null ? t : (() => {
35
+ const e = document.createElement("div");
36
+ return e.id = s, e.style.position = "absolute", e.style.top = "0", e.style.left = "0", e.style.width = "100%", e.style.height = "100%", e.style.pointerEvents = "none", this.five.getElement().parentElement.appendChild(e), e;
37
+ })(), this.wrapper.appendChild(this.container), this.five.on("camera.update", this.onCameraUpdate));
38
+ }
39
+ disable() {
40
+ this.enabled && (this.enabled = !1, this.wrapper.removeChild(this.container), this.five.off("camera.update", this.onCameraUpdate));
41
+ }
42
+ // private onWantsMovePano = () => {
43
+ // }
44
+ }
45
+ function f(i, t) {
46
+ return new l(i, t);
47
+ }
48
+ export {
49
+ f as tag
50
+ };
@@ -0,0 +1,2 @@
1
+ import type * as THREE from 'three';
2
+ export default function addIfNotExists(parent: THREE.Object3D, ...target: THREE.Object3D[]): void;
@@ -0,0 +1,8 @@
1
+ function n(i, ...f) {
2
+ f.forEach((d) => {
3
+ i.children.includes(d) || d && i.add(d);
4
+ });
5
+ }
6
+ export {
7
+ n as addIfNotExists
8
+ };
@@ -0,0 +1,2 @@
1
+ import type * as THREE from 'three';
2
+ export default function closeVectors(vectors: THREE.Vector3[]): THREE.Vector3[];
@@ -0,0 +1,10 @@
1
+ function f(n) {
2
+ const t = [...n];
3
+ if (n.length < 3)
4
+ return n;
5
+ const u = n.at(-1), s = n[0];
6
+ return u.equals(s) || t.push(s), t;
7
+ }
8
+ export {
9
+ f as closeVectors
10
+ };
@@ -0,0 +1,2 @@
1
+ import * as THREE from 'three';
2
+ export default function earcut3D(points: THREE.Vector3[]): number[];
@@ -0,0 +1,12 @@
1
+ import c from "earcut";
2
+ import { getNormal as l } from "./getNormal.js";
3
+ import * as r from "three";
4
+ function s(t) {
5
+ if (t.length < 3)
6
+ return [];
7
+ const e = l([t[0].clone(), t[1].clone(), t[2].clone()]), n = new r.Quaternion().setFromUnitVectors(new r.Vector3(0, 1, 0), e), a = t.map((o) => o.clone().applyQuaternion(n)).flatMap((o) => [o.x, o.z]);
8
+ return c(a);
9
+ }
10
+ export {
11
+ s as earcut3D
12
+ };