@realsee/dnalogel 3.73.1 → 3.73.2

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 (616) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/MeasurePlugin/Controller.d.ts +3 -4
  3. package/dist/MeasurePlugin/index.d.ts +2 -1
  4. package/dist/Sculpt/utils/export.d.ts +1 -0
  5. package/dist/index.cjs.js +71 -71
  6. package/dist/index.js +4893 -4894
  7. package/dist/index.umd.js +76 -76
  8. package/dist/shared-utils/three/index.d.ts +2 -0
  9. package/docs/.nojekyll +1 -0
  10. package/docs/assets/custom.css +0 -0
  11. package/docs/assets/highlight.css +127 -0
  12. package/docs/assets/icons.js +18 -0
  13. package/docs/assets/icons.svg +1 -0
  14. package/docs/assets/main.js +60 -0
  15. package/docs/assets/navigation.js +1 -0
  16. package/docs/assets/search.js +1 -0
  17. package/docs/assets/style.css +1493 -0
  18. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  19. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  20. package/docs/classes/CSS3DRender.html +100 -0
  21. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  22. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
  23. package/docs/classes/ModelMakerPluginInstance.html +116 -0
  24. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +52 -0
  25. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +52 -0
  26. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +53 -0
  27. package/docs/classes/ModelRoomLabelController.html +19 -0
  28. package/docs/classes/MoveController.html +45 -0
  29. package/docs/classes/Object3DHelperController.html +45 -0
  30. package/docs/classes/PaintBrush.html +15 -0
  31. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  32. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  33. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  34. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  35. package/docs/classes/PanoTagPluginController.html +111 -0
  36. package/docs/classes/Sculpt.html +77 -0
  37. package/docs/classes/Util.BetterTween.html +6 -0
  38. package/docs/classes/Util.FiveDomEvents.html +13 -0
  39. package/docs/classes/Util.FivePuppet.html +20 -0
  40. package/docs/classes/Util.Interval.html +11 -0
  41. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  42. package/docs/classes/Util.LightTag.html +47 -0
  43. package/docs/classes/Util.LineSegments.html +4 -0
  44. package/docs/classes/Util.Magnifier.html +26 -0
  45. package/docs/classes/Util.Object3D.html +8 -0
  46. package/docs/classes/Util.PointDomHelper.html +8 -0
  47. package/docs/classes/Util.PointHelper.html +10 -0
  48. package/docs/classes/Util.PointSelector.html +66 -0
  49. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  50. package/docs/classes/Util.Rectangle.html +12 -0
  51. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  52. package/docs/classes/Util.sculpt.BoxMesh.html +48 -0
  53. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  54. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  55. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  56. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  57. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  58. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  59. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  60. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  61. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  62. package/docs/classes/Util.sculpt.PrismMesh.html +48 -0
  63. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  64. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  65. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  66. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  67. package/docs/classes/WalkController.html +42 -0
  68. package/docs/enums/CameraMovementEffect.html +4 -0
  69. package/docs/enums/ContentType.html +34 -0
  70. package/docs/enums/DIRECTION.html +5 -0
  71. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  72. package/docs/enums/DimensionType.html +4 -0
  73. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  74. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  75. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  76. package/docs/enums/PointType.html +4 -0
  77. package/docs/enums/Rotation.html +5 -0
  78. package/docs/functions/AreaMakerPlugin.html +1 -0
  79. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  80. package/docs/functions/CameraMovementPlugin.html +2 -0
  81. package/docs/functions/CruisePlugin.html +1 -0
  82. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  83. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  84. package/docs/functions/GuideLinePlugin.html +1 -0
  85. package/docs/functions/ItemLabelPlugin.html +1 -0
  86. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  87. package/docs/functions/MeasurePlugin.html +1 -0
  88. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  89. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  90. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  91. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  92. package/docs/functions/ModelMakerPlugin.html +1 -0
  93. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  94. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  95. package/docs/functions/ModelViewPlugin.html +2 -0
  96. package/docs/functions/MovePlugin.html +1 -0
  97. package/docs/functions/Object3DHelperPlugin.html +1 -0
  98. package/docs/functions/PanoCompassPlugin.html +1 -0
  99. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  100. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  101. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  102. package/docs/functions/PanoMeasurePlugin.html +1 -0
  103. package/docs/functions/PanoRulerPlugin.html +2 -0
  104. package/docs/functions/PanoRulerProPlugin.html +2 -0
  105. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  106. package/docs/functions/PanoTagPlugin.html +1 -0
  107. package/docs/functions/PanoVideoPlugin.html +10 -0
  108. package/docs/functions/PipelinePlugin.html +1 -0
  109. package/docs/functions/SculptPlugin.html +2 -0
  110. package/docs/functions/SculptPluginForFive.html +2 -0
  111. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  112. package/docs/functions/Util.awaitNextFrame.html +1 -0
  113. package/docs/functions/Util.blink.html +13 -0
  114. package/docs/functions/Util.blinkWithPreset.html +6 -0
  115. package/docs/functions/Util.bounding.html +1 -0
  116. package/docs/functions/Util.boundingBox.html +1 -0
  117. package/docs/functions/Util.boundingSphere.html +1 -0
  118. package/docs/functions/Util.boxVertex.html +7 -0
  119. package/docs/functions/Util.boxVertexes.html +1 -0
  120. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  121. package/docs/functions/Util.cleanup.html +3 -0
  122. package/docs/functions/Util.convexHull.html +2 -0
  123. package/docs/functions/Util.equal.html +5 -0
  124. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  125. package/docs/functions/Util.generatePolygonGeometry.html +2 -0
  126. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  127. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  128. package/docs/functions/Util.getFrameTime.html +3 -0
  129. package/docs/functions/Util.getGeometryArea.html +1 -0
  130. package/docs/functions/Util.getGeometryInfo.html +1 -0
  131. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  132. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  133. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  134. package/docs/functions/Util.inside.html +1 -0
  135. package/docs/functions/Util.isModelLike.html +1 -0
  136. package/docs/functions/Util.isNil.html +2 -0
  137. package/docs/functions/Util.isPanoramaLike.html +1 -0
  138. package/docs/functions/Util.lookObject.html +7 -0
  139. package/docs/functions/Util.lookPoint.html +5 -0
  140. package/docs/functions/Util.nextFrame.html +1 -0
  141. package/docs/functions/Util.notNil.html +2 -0
  142. package/docs/functions/Util.reblink.html +13 -0
  143. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  144. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  145. package/docs/functions/Util.sculpt.createBox.html +1 -0
  146. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  147. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  148. package/docs/functions/Util.sculpt.createLine.html +2 -0
  149. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  150. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  151. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  152. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  153. package/docs/functions/Util.sculpt.transformUnit.html +1 -0
  154. package/docs/functions/Util.sculpt.transformUnitSquare.html +1 -0
  155. package/docs/functions/Util.tag.html +1 -0
  156. package/docs/functions/Util.triangleArea.html +2 -0
  157. package/docs/functions/Util.triangleCenter.html +2 -0
  158. package/docs/functions/Util.tweenProgress.html +1 -0
  159. package/docs/functions/Util.uuid.html +2 -0
  160. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  161. package/docs/functions/Util.worldBounding.html +1 -0
  162. package/docs/functions/Util.worldBoundingBox.html +1 -0
  163. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  164. package/docs/functions/createPolyline.html +2 -0
  165. package/docs/functions/pluginFlag.html +1 -0
  166. package/docs/functions/validatePolygon.html +1 -0
  167. package/docs/hierarchy.html +1 -0
  168. package/docs/index.html +70 -0
  169. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  170. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  171. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  172. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  173. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  174. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  175. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  176. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  177. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  178. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  179. package/docs/interfaces/BoxAnimationConfig.html +6 -0
  180. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  181. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  182. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  183. package/docs/interfaces/ContentTypeMapInterface.html +73 -0
  184. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  185. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  186. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  187. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  188. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  189. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  190. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  191. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  192. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  193. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  194. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  195. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  196. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  197. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  198. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  199. package/docs/interfaces/FloorplanBounding.html +9 -0
  200. package/docs/interfaces/FloorplanData.html +7 -0
  201. package/docs/interfaces/FloorplanEntrance.html +14 -0
  202. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  203. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  204. package/docs/interfaces/FloorplanFloorData.html +9 -0
  205. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  206. package/docs/interfaces/FloorplanObserver.html +8 -0
  207. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  208. package/docs/interfaces/FloorplanPosition.html +4 -0
  209. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  210. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  211. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  212. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  213. package/docs/interfaces/FloorplanServerData.html +4 -0
  214. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  215. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  216. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  217. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  218. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  219. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  220. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  221. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  222. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  223. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  224. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  225. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  226. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  227. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  228. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  229. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  230. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  231. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  232. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  233. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  234. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  235. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  236. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  237. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  238. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  239. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  240. package/docs/interfaces/HelperOffset.html +4 -0
  241. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  242. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  243. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  244. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  245. package/docs/interfaces/MinMax.html +3 -0
  246. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  247. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  248. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  249. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  250. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  251. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  252. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  253. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  254. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  255. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  256. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  257. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  258. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  259. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  260. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  261. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  262. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  263. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  264. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  265. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  266. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  267. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  268. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  269. package/docs/interfaces/Object3DHelperState.html +4 -0
  270. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  271. package/docs/interfaces/PaintBrushAction.html +14 -0
  272. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  273. package/docs/interfaces/PaintBrushState.html +6 -0
  274. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  275. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  276. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  277. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  278. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  279. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  280. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  281. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  282. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  283. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  284. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  285. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  286. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  287. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  288. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  289. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  290. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  291. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  292. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  293. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  294. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  295. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  296. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  297. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  298. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  299. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  300. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  301. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  302. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  303. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  304. package/docs/interfaces/PluginEventMap.html +16 -0
  305. package/docs/interfaces/Point.html +4 -0
  306. package/docs/interfaces/Room.html +5 -0
  307. package/docs/interfaces/RoomInfo.html +3 -0
  308. package/docs/interfaces/RoomLabel.html +16 -0
  309. package/docs/interfaces/RoomRules.html +1 -0
  310. package/docs/interfaces/Rooms.html +1 -0
  311. package/docs/interfaces/Scissor.html +13 -0
  312. package/docs/interfaces/SculptConfig.html +14 -0
  313. package/docs/interfaces/State.html +7 -0
  314. package/docs/interfaces/TagCacheInterface.html +9 -0
  315. package/docs/interfaces/TagConfig.html +164 -0
  316. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  317. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  318. package/docs/interfaces/TagIconUrl.html +20 -0
  319. package/docs/interfaces/TagObjectGroup.html +3 -0
  320. package/docs/interfaces/TagState.html +3 -0
  321. package/docs/interfaces/TagStyle.html +5 -0
  322. package/docs/interfaces/Tags.html +8 -0
  323. package/docs/interfaces/TemporaryState.html +2 -0
  324. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  325. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  326. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  327. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  328. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  329. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  330. package/docs/interfaces/Util.MagnifierParameter.html +13 -0
  331. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  332. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  333. package/docs/interfaces/Util.PointIntersection.html +21 -0
  334. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  335. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  336. package/docs/modules/AreaMakerPluginType.html +17 -0
  337. package/docs/modules/CruisePluginTypes.html +14 -0
  338. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  339. package/docs/modules/GuideLineItem.html +2 -0
  340. package/docs/modules/GuideLineModeItem.html +3 -0
  341. package/docs/modules/GuideLinePluginType.html +25 -0
  342. package/docs/modules/ModelMakerPluginType.html +19 -0
  343. package/docs/modules/PanoVideoPluginType.html +8 -0
  344. package/docs/modules/SculptData.html +9 -0
  345. package/docs/modules/SculptType.html +2 -0
  346. package/docs/modules/Util.html +91 -0
  347. package/docs/modules/Util.sculpt.html +27 -0
  348. package/docs/modules.html +281 -0
  349. package/docs/types/AddObject3DHelperConfig.html +19 -0
  350. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  351. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  352. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  353. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  354. package/docs/types/ArrayPosition.html +1 -0
  355. package/docs/types/AudioAppearance.html +1 -0
  356. package/docs/types/CSS3DRenderExportType.html +1 -0
  357. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  358. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  359. package/docs/types/ClassFunctionParameters.html +1 -0
  360. package/docs/types/Color.html +1 -0
  361. package/docs/types/ContentTypeConfigKey.html +1 -0
  362. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  363. package/docs/types/ContentTypeMap.html +1 -0
  364. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  365. package/docs/types/Create3DElementReturnType.html +1 -0
  366. package/docs/types/CruisePluginExportType.html +1 -0
  367. package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
  368. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  369. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  370. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  371. package/docs/types/DeprecatedTagProperty.html +3 -0
  372. package/docs/types/Direction-1.html +1 -0
  373. package/docs/types/Direction4.html +1 -0
  374. package/docs/types/ElementRenderer.html +2 -0
  375. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  376. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  377. package/docs/types/FloorplanRuleLabels.html +2 -0
  378. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  379. package/docs/types/GuideLinePluginExportType.html +1 -0
  380. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  381. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  382. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  383. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  384. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  385. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  386. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  387. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  388. package/docs/types/HelperEventMap.html +1 -0
  389. package/docs/types/InternalHelperEventMap.html +1 -0
  390. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  391. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  392. package/docs/types/MeasureEndReason.html +1 -0
  393. package/docs/types/MeasurePluginConfig.html +5 -0
  394. package/docs/types/MeasurePluginEventMap.html +1 -0
  395. package/docs/types/MediaData.html +2 -0
  396. package/docs/types/MediaStore.html +1 -0
  397. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  398. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  399. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  400. package/docs/types/ModelId.html +1 -0
  401. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  402. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  403. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  404. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  405. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  406. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  407. package/docs/types/MoveArgs.html +2 -0
  408. package/docs/types/MoveOpts.html +2 -0
  409. package/docs/types/Object3DHelperEventMap.html +1 -0
  410. package/docs/types/ObjectFit.html +1 -0
  411. package/docs/types/PaintBrushEventMap.html +1 -0
  412. package/docs/types/PanoCompassPluginData.html +1 -0
  413. package/docs/types/PanoCompassPluginExportType.html +1 -0
  414. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  415. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  416. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  417. package/docs/types/PanoIndex.html +1 -0
  418. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  419. package/docs/types/PanoMeasureReturnType.html +1 -0
  420. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  421. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  422. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  423. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  424. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  425. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  426. package/docs/types/PipelinePluginParameterType.html +1 -0
  427. package/docs/types/PipelinePluginReturnType.html +1 -0
  428. package/docs/types/PlaneTag.html +2 -0
  429. package/docs/types/Point2DTag.html +2 -0
  430. package/docs/types/Point3DTag.html +2 -0
  431. package/docs/types/PointTagInstance.html +1 -0
  432. package/docs/types/Position.html +1 -0
  433. package/docs/types/PositionFrom.html +1 -0
  434. package/docs/types/RotateArgs.html +2 -0
  435. package/docs/types/RotateOpts.html +2 -0
  436. package/docs/types/RuleLabelsKey.html +1 -0
  437. package/docs/types/RuleLabelsValue.html +1 -0
  438. package/docs/types/ScaleCallback.html +1 -0
  439. package/docs/types/ScalePosition.html +3 -0
  440. package/docs/types/SculptData.BoxData.html +1 -0
  441. package/docs/types/SculptData.CircleData.html +1 -0
  442. package/docs/types/SculptData.CylinderData.html +1 -0
  443. package/docs/types/SculptData.PointData.html +1 -0
  444. package/docs/types/SculptData.PolygonData.html +1 -0
  445. package/docs/types/SculptData.PolylineData.html +1 -0
  446. package/docs/types/SculptData.PrismData.html +1 -0
  447. package/docs/types/SculptData.RectangleData.html +1 -0
  448. package/docs/types/SculptType.Theme.html +10 -0
  449. package/docs/types/StickType.html +1 -0
  450. package/docs/types/Tag.html +17 -0
  451. package/docs/types/Tag2D.html +2 -0
  452. package/docs/types/Tag3D.html +2 -0
  453. package/docs/types/TagClickParams.html +1 -0
  454. package/docs/types/TagConfigByKey.html +1 -0
  455. package/docs/types/TagContentType.html +1 -0
  456. package/docs/types/TagContentTypeMapping.html +1 -0
  457. package/docs/types/TagDimensionType.html +1 -0
  458. package/docs/types/TagElement.html +2 -0
  459. package/docs/types/TagEvents.html +1 -0
  460. package/docs/types/TagGLTFObject.html +1 -0
  461. package/docs/types/TagHooks.html +1 -0
  462. package/docs/types/TagId.html +1 -0
  463. package/docs/types/TagInstance.html +1 -0
  464. package/docs/types/TagPlacement.html +5 -0
  465. package/docs/types/TagPointType.html +2 -0
  466. package/docs/types/TagRendererMap.html +1 -0
  467. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  468. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  469. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  470. package/docs/types/Util.AdherePoint.html +2 -0
  471. package/docs/types/Util.PointSelectorConfig.html +1 -0
  472. package/docs/types/Util.SupportedTarget.html +2 -0
  473. package/docs/types/Util.Target.html +2 -0
  474. package/docs/types/Util.ThreeObject.html +2 -0
  475. package/docs/types/WorkCode.html +1 -0
  476. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  477. package/docs/variables/PLUGIN.html +1 -0
  478. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  479. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  480. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  481. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  482. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  483. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  484. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  485. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  486. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  487. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  488. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  489. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  490. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  491. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  492. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  493. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  494. package/docs/variables/defaultGlobalConfig.html +1 -0
  495. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  496. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  497. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  498. package/libs/AreaMakerPlugin/Controller.js +3 -2
  499. package/libs/AreaMakerPlugin/index.js +3 -2
  500. package/libs/AreaMakerPlugin/utils/Item.js +80 -79
  501. package/libs/CSS3DRenderPlugin/Controller.js +3 -2
  502. package/libs/CSS3DRenderPlugin/index.js +6 -5
  503. package/libs/CSS3DRenderPlugin/utils/three/CSS3DObject.js +3 -2
  504. package/libs/CSS3DRenderPlugin/utils/three/CSS3DRender.js +1 -0
  505. package/libs/CruisePlugin/BaseController.js +5 -4
  506. package/libs/CruisePlugin/Move.js +1 -1
  507. package/libs/CruisePlugin/Work.js +1 -1
  508. package/libs/CruisePlugin/index.js +1 -1
  509. package/libs/CurrentPanoImagePlugin/Controller.js +3 -2
  510. package/libs/CurrentPanoImagePlugin/index.js +4 -3
  511. package/libs/GuideLinePlugin/Controller.js +1 -1
  512. package/libs/GuideLinePlugin/GuideLineItem.js +1 -1
  513. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +3 -2
  514. package/libs/GuideLinePlugin/GuideLineModeItem.js +1 -1
  515. package/libs/GuideLinePlugin/index.js +1 -1
  516. package/libs/MeasurePlugin/Controller.d.ts +3 -4
  517. package/libs/MeasurePlugin/Controller.js +29 -29
  518. package/libs/MeasurePlugin/index.d.ts +2 -1
  519. package/libs/MeasurePlugin/index.js +6 -5
  520. package/libs/MeasurePlugin/utils/MeasureMesh.js +1 -1
  521. package/libs/ModelChassisCompassPlugin/Plugin.js +4 -3
  522. package/libs/ModelChassisCompassPlugin/index.js +1 -0
  523. package/libs/ModelEntryDoorGuidePlugin/Plugin.js +6 -5
  524. package/libs/ModelEntryDoorGuidePlugin/index.js +1 -0
  525. package/libs/ModelMakerPlugin/Controller.js +1 -1
  526. package/libs/ModelMakerPlugin/index.js +1 -1
  527. package/libs/ModelMakerPlugin/item/baseItem.js +3 -2
  528. package/libs/ModelMakerPlugin/item/boxItem.js +3 -2
  529. package/libs/ModelMakerPlugin/item/polygonItem.js +3 -2
  530. package/libs/ModelMakerPlugin/item/prismItem.js +3 -2
  531. package/libs/ModelTVVideoPlugin/Plugin.js +4 -3
  532. package/libs/ModelTVVideoPlugin/index.js +3 -2
  533. package/libs/ModelViewPlugin/Plugin.js +4 -3
  534. package/libs/ModelViewPlugin/index.js +1 -0
  535. package/libs/Object3DHelperPlugin/Controller.js +18 -17
  536. package/libs/Object3DHelperPlugin/index.js +6 -5
  537. package/libs/PanoCompassPlugin/Controller.js +3 -2
  538. package/libs/PanoCompassPlugin/index.js +4 -3
  539. package/libs/PanoDoorLabelPlugin/Controller.js +3 -2
  540. package/libs/PanoDoorLabelPlugin/index.js +4 -3
  541. package/libs/PanoMeasurePlugin/Controller/EditController.js +1 -1
  542. package/libs/PanoMeasurePlugin/Controller/WatchController.js +1 -1
  543. package/libs/PanoMeasurePlugin/Controller/index.js +1 -1
  544. package/libs/PanoMeasurePlugin/Modules/Magnifier.js +1 -0
  545. package/libs/PanoMeasurePlugin/index.js +1 -1
  546. package/libs/PanoMeasurePlugin/utils/dom/areaDom.js +3 -2
  547. package/libs/PanoRulerProPlugin/Controller.js +3 -2
  548. package/libs/PanoRulerProPlugin/RulerItems.js +3 -2
  549. package/libs/PanoRulerProPlugin/index.js +4 -3
  550. package/libs/PanoSpatialTagPlugin/Plugin.js +4 -3
  551. package/libs/PanoSpatialTagPlugin/index.js +1 -0
  552. package/libs/PanoTagPlugin/Components/Common/TagPoint.js +3 -2
  553. package/libs/PanoTagPlugin/Components/Common/TagPopover/PopoverContent.js +3 -2
  554. package/libs/PanoTagPlugin/Components/Common/TagPopover/TagPopoverToolBar.js +3 -2
  555. package/libs/PanoTagPlugin/Components/Common/TagPopover/index.js +3 -2
  556. package/libs/PanoTagPlugin/Components/Tag/MarketingTag.js +233 -232
  557. package/libs/PanoTagPlugin/Components/Tag/index.js +3 -2
  558. package/libs/PanoTagPlugin/Components/TagContainer.js +3 -2
  559. package/libs/PanoTagPlugin/Components/TagItem.js +3 -2
  560. package/libs/PanoTagPlugin/controller/Tag/BaseTag.js +3 -2
  561. package/libs/PanoTagPlugin/controller/Tag/ModelTag.js +22 -21
  562. package/libs/PanoTagPlugin/controller/Tag/PlaneTag.js +1 -1
  563. package/libs/PanoTagPlugin/controller/Tag/PointTag.js +3 -2
  564. package/libs/PanoTagPlugin/controller/TagRender.js +3 -2
  565. package/libs/PanoTagPlugin/controller/TagUtil.js +3 -2
  566. package/libs/PanoTagPlugin/controller/index.js +1 -1
  567. package/libs/PanoTagPlugin/index.js +1 -1
  568. package/libs/PanoTagPlugin/utils/tag/calculateTagConfig.js +3 -2
  569. package/libs/PanoTagPlugin/utils/tag/format.js +3 -2
  570. package/libs/PanoVideoPlugin/Controller.js +3 -2
  571. package/libs/PanoVideoPlugin/VideoMeshController.js +3 -2
  572. package/libs/PanoVideoPlugin/index.js +6 -5
  573. package/libs/PipelinePlugin/Controller.js +95 -94
  574. package/libs/PipelinePlugin/index.js +4 -3
  575. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +3 -2
  576. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +3 -2
  577. package/libs/PipelinePlugin/utils/Objects/Pipe.js +22 -21
  578. package/libs/Sculpt/Meshes/Circle.js +3 -2
  579. package/libs/Sculpt/Meshes/Cylinder.js +3 -2
  580. package/libs/Sculpt/Meshes/Line.js +3 -2
  581. package/libs/Sculpt/Meshes/LineWithDots.js +5 -4
  582. package/libs/Sculpt/Meshes/Point.js +3 -2
  583. package/libs/Sculpt/Meshes/Rectangle.js +4 -3
  584. package/libs/Sculpt/Objects/Base/index.js +1 -0
  585. package/libs/Sculpt/Objects/Line/Editor.js +7 -6
  586. package/libs/Sculpt/index.js +19 -18
  587. package/libs/Sculpt/utils/export.d.ts +1 -0
  588. package/libs/Sculpt/utils/export.js +23 -20
  589. package/libs/Sculpt/utils/three/ColoredMesh.js +3 -2
  590. package/libs/base/BasePlugin.js +8 -7
  591. package/libs/floorplan/FloorplanGuidePlugin/Controller.js +3 -2
  592. package/libs/floorplan/FloorplanGuidePlugin/index.js +4 -3
  593. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +3 -2
  594. package/libs/floorplan/MapviewFloorplanPlugin/index.js +4 -3
  595. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +3 -2
  596. package/libs/floorplan/ModelFloorplanPlugin/index.js +4 -3
  597. package/libs/floorplan/PanoFloorplanRadarPlugin/Controller.js +3 -2
  598. package/libs/floorplan/PanoFloorplanRadarPlugin/index.js +4 -3
  599. package/libs/floorplan/TopviewFloorplanPlugin/Controller.js +3 -2
  600. package/libs/floorplan/TopviewFloorplanPlugin/index.js +4 -3
  601. package/libs/floorplan/index.js +1 -0
  602. package/libs/index.js +146 -145
  603. package/libs/shared-utils/CSS3DRender/CSS3DObject.js +3 -2
  604. package/libs/shared-utils/exports.js +62 -55
  605. package/libs/shared-utils/five/index.js +4 -3
  606. package/libs/shared-utils/five/lookObject.js +3 -2
  607. package/libs/shared-utils/index.js +1 -0
  608. package/libs/shared-utils/logger.js +1 -1
  609. package/libs/shared-utils/tag.js +3 -2
  610. package/libs/shared-utils/three/PointDomHelper.js +3 -2
  611. package/libs/shared-utils/three/PointSelector/utils/PointSelectorHelper.js +3 -2
  612. package/libs/shared-utils/three/geometryUtil.js +12 -8
  613. package/libs/shared-utils/three/index.d.ts +2 -0
  614. package/libs/shared-utils/three/index.js +1 -0
  615. package/libs/vendor/hotkeys-js/dist/hotkeys.esm.js +139 -151
  616. package/package.json +1 -1
@@ -1,14 +1,17 @@
1
1
  import { Vector3 as l } from "three";
2
2
  import { centerPoint as p } from "./centerPoint.js";
3
3
  function b(n) {
4
- const t = A(n);
4
+ return a(n).reduce((e, [r, i, o]) => e + u(r, i, o), 0);
5
+ }
6
+ function h(n) {
7
+ const t = a(n);
5
8
  if (t.length === 0) {
6
9
  console.warn("No geometry triangles found"), console.debug({ geometry: n, triangles: t });
7
10
  return;
8
11
  }
9
12
  let e = 0, r = new l();
10
13
  for (const [i, o, c] of t) {
11
- const s = u(i, o, c), g = d(i, o, c, s);
14
+ const s = u(i, o, c), g = A(i, o, c, s);
12
15
  e += s, r.add(g);
13
16
  }
14
17
  return r = r.divideScalar(e), { center: r, area: e };
@@ -16,24 +19,25 @@ function b(n) {
16
19
  function u(n, t, e) {
17
20
  return t.clone().sub(n).cross(e.clone().sub(n)).length() / 2;
18
21
  }
19
- function d(n, t, e, r) {
22
+ function A(n, t, e, r) {
20
23
  const i = r != null ? r : u(n, t, e);
21
24
  return p(n, t, e).multiplyScalar(i);
22
25
  }
23
- function A(n) {
26
+ function a(n) {
24
27
  var i;
25
28
  const t = n.getAttribute("position"), e = (i = n.getIndex()) == null ? void 0 : i.array;
26
29
  if (!t || !e)
27
30
  return [];
28
31
  let r = [];
29
32
  for (let o = 0; o < e.length; o += 3) {
30
- const c = e[o], s = e[o + 1], g = e[o + 2], f = new l().fromArray([t.getX(c), t.getY(c), t.getZ(c)]), a = new l().fromArray([t.getX(s), t.getY(s), t.getZ(s)]), m = new l().fromArray([t.getX(g), t.getY(g), t.getZ(g)]);
31
- r.push([f, a, m]);
33
+ const c = e[o], s = e[o + 1], g = e[o + 2], f = new l().fromArray([t.getX(c), t.getY(c), t.getZ(c)]), m = new l().fromArray([t.getX(s), t.getY(s), t.getZ(s)]), d = new l().fromArray([t.getX(g), t.getY(g), t.getZ(g)]);
34
+ r.push([f, m, d]);
32
35
  }
33
36
  return r;
34
37
  }
35
38
  export {
36
- b as getGeometryInfo,
39
+ b as getGeometryArea,
40
+ h as getGeometryInfo,
37
41
  u as triangleArea,
38
- d as triangleCenter
42
+ A as triangleCenter
39
43
  };
@@ -11,3 +11,5 @@ export * from './getIntersect';
11
11
  export * from './getRaycaster';
12
12
  export * from './PointDomHelper';
13
13
  export * from './LegacyPointHelper';
14
+ export * from './geometryUtil';
15
+ export { default as generatePolygonGeometry } from './generatePolygonGeometry';
@@ -10,4 +10,5 @@ import "./core/Sphere.js";
10
10
  import "./blink.js";
11
11
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
12
12
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
13
+ import "../../vendor/earcut/src/earcut.js";
13
14
  import "../five/FivePuppet.js";
@@ -1,32 +1,32 @@
1
1
  const j = typeof navigator != "undefined" ? navigator.userAgent.toLowerCase().indexOf("firefox") > 0 : !1;
2
- function A(e, t, s, n) {
3
- e.addEventListener ? e.addEventListener(t, s, n) : e.attachEvent && e.attachEvent("on".concat(t), s);
2
+ function A(e, t, i, n) {
3
+ e.addEventListener ? e.addEventListener(t, i, n) : e.attachEvent && e.attachEvent("on".concat(t), i);
4
4
  }
5
- function E(e, t, s, n) {
6
- e.removeEventListener ? e.removeEventListener(t, s, n) : e.detachEvent && e.detachEvent("on".concat(t), s);
5
+ function O(e, t, i, n) {
6
+ e.removeEventListener ? e.removeEventListener(t, i, n) : e.detachEvent && e.detachEvent("on".concat(t), i);
7
7
  }
8
8
  function B(e, t) {
9
- const s = t.slice(0, t.length - 1);
10
- for (let n = 0; n < s.length; n++)
11
- s[n] = e[s[n].toLowerCase()];
12
- return s;
9
+ const i = t.slice(0, t.length - 1);
10
+ for (let n = 0; n < i.length; n++)
11
+ i[n] = e[i[n].toLowerCase()];
12
+ return i;
13
13
  }
14
14
  function D(e) {
15
15
  typeof e != "string" && (e = ""), e = e.replace(/\s/g, "");
16
16
  const t = e.split(",");
17
- let s = t.lastIndexOf("");
18
- for (; s >= 0; )
19
- t[s - 1] += ",", t.splice(s, 1), s = t.lastIndexOf("");
17
+ let i = t.lastIndexOf("");
18
+ for (; i >= 0; )
19
+ t[i - 1] += ",", t.splice(i, 1), i = t.lastIndexOf("");
20
20
  return t;
21
21
  }
22
22
  function H(e, t) {
23
- const s = e.length >= t.length ? e : t, n = e.length >= t.length ? t : e;
24
- let i = !0;
25
- for (let r = 0; r < s.length; r++)
26
- n.indexOf(s[r]) === -1 && (i = !1);
27
- return i;
23
+ const i = e.length >= t.length ? e : t, n = e.length >= t.length ? t : e;
24
+ let s = !0;
25
+ for (let r = 0; r < i.length; r++)
26
+ n.indexOf(i[r]) === -1 && (s = !1);
27
+ return s;
28
28
  }
29
- const x = {
29
+ const b = {
30
30
  backspace: 8,
31
31
  "⌫": 8,
32
32
  tab: 9,
@@ -41,11 +41,6 @@ const x = {
41
41
  up: 38,
42
42
  right: 39,
43
43
  down: 40,
44
- /// https://w3c.github.io/uievents/#events-keyboard-key-location
45
- arrowup: 38,
46
- arrowdown: 40,
47
- arrowleft: 37,
48
- arrowright: 39,
49
44
  del: 46,
50
45
  delete: 46,
51
46
  ins: 45,
@@ -80,12 +75,10 @@ const x = {
80
75
  "=": j ? 61 : 187,
81
76
  ";": j ? 59 : 186,
82
77
  "'": 222,
83
- "{": 219,
84
- "}": 221,
85
78
  "[": 219,
86
79
  "]": 221,
87
80
  "\\": 220
88
- }, y = {
81
+ }, g = {
89
82
  // shiftKey
90
83
  "⇧": 16,
91
84
  shift: 16,
@@ -100,9 +93,8 @@ const x = {
100
93
  // metaKey
101
94
  "⌘": 91,
102
95
  cmd: 91,
103
- meta: 91,
104
96
  command: 91
105
- }, b = {
97
+ }, C = {
106
98
  16: "shiftKey",
107
99
  18: "altKey",
108
100
  17: "ctrlKey",
@@ -111,20 +103,20 @@ const x = {
111
103
  ctrlKey: 17,
112
104
  altKey: 18,
113
105
  metaKey: 91
114
- }, a = {
106
+ }, u = {
115
107
  16: !1,
116
108
  18: !1,
117
109
  17: !1,
118
110
  91: !1
119
111
  }, c = {};
120
112
  for (let e = 1; e < 20; e++)
121
- x["f".concat(e)] = 111 + e;
122
- let f = [], L = null, z = "all";
123
- const w = /* @__PURE__ */ new Map(), O = (e) => x[e.toLowerCase()] || y[e.toLowerCase()] || e.toUpperCase().charCodeAt(0), I = (e) => Object.keys(x).find((t) => x[t] === e), R = (e) => Object.keys(y).find((t) => y[t] === e);
113
+ b["f".concat(e)] = 111 + e;
114
+ let f = [], E = null, z = "all";
115
+ const w = /* @__PURE__ */ new Map(), L = (e) => b[e.toLowerCase()] || g[e.toLowerCase()] || e.toUpperCase().charCodeAt(0), I = (e) => Object.keys(b).find((t) => b[t] === e), R = (e) => Object.keys(g).find((t) => g[t] === e);
124
116
  function F(e) {
125
117
  z = e || "all";
126
118
  }
127
- function _() {
119
+ function x() {
128
120
  return z || "all";
129
121
  }
130
122
  function V() {
@@ -136,172 +128,168 @@ function X() {
136
128
  function q() {
137
129
  const e = [];
138
130
  return Object.keys(c).forEach((t) => {
139
- c[t].forEach((s) => {
131
+ c[t].forEach((i) => {
140
132
  let {
141
133
  key: n,
142
- scope: i,
134
+ scope: s,
143
135
  mods: r,
144
136
  shortcut: l
145
- } = s;
137
+ } = i;
146
138
  e.push({
147
- scope: i,
139
+ scope: s,
148
140
  shortcut: l,
149
141
  mods: r,
150
- keys: n.split("+").map((o) => O(o))
142
+ keys: n.split("+").map((o) => L(o))
151
143
  });
152
144
  });
153
145
  }), e;
154
146
  }
155
- function J(e) {
147
+ function v(e) {
156
148
  const t = e.target || e.srcElement, {
157
- tagName: s
149
+ tagName: i
158
150
  } = t;
159
151
  let n = !0;
160
- const i = s === "INPUT" && !["checkbox", "radio", "range", "button", "file", "reset", "submit", "color"].includes(t.type);
161
- return (t.isContentEditable || (i || s === "TEXTAREA" || s === "SELECT") && !t.readOnly) && (n = !1), n;
152
+ const s = i === "INPUT" && !["checkbox", "radio", "range", "button", "file", "reset", "submit", "color"].includes(t.type);
153
+ return (t.isContentEditable || (s || i === "TEXTAREA" || i === "SELECT") && !t.readOnly) && (n = !1), n;
162
154
  }
163
- function Q(e) {
164
- return typeof e == "string" && (e = O(e)), f.indexOf(e) !== -1;
155
+ function J(e) {
156
+ return typeof e == "string" && (e = L(e)), f.indexOf(e) !== -1;
165
157
  }
166
- function W(e, t) {
167
- let s, n;
168
- e || (e = _());
169
- for (const i in c)
170
- if (Object.prototype.hasOwnProperty.call(c, i))
171
- for (s = c[i], n = 0; n < s.length; )
172
- s[n].scope === e ? s.splice(n, 1).forEach((l) => {
158
+ function Q(e, t) {
159
+ let i, n;
160
+ e || (e = x());
161
+ for (const s in c)
162
+ if (Object.prototype.hasOwnProperty.call(c, s))
163
+ for (i = c[s], n = 0; n < i.length; )
164
+ i[n].scope === e ? i.splice(n, 1).forEach((l) => {
173
165
  let {
174
166
  element: o
175
167
  } = l;
176
168
  return S(o);
177
169
  }) : n++;
178
- _() === e && F(t || "all");
170
+ x() === e && F(t || "all");
179
171
  }
180
- function Y(e) {
172
+ function W(e) {
181
173
  let t = e.keyCode || e.which || e.charCode;
182
- e.key && e.key.toLowerCase() === "capslock" && (t = O(e.key));
183
- const s = f.indexOf(t);
184
- if (s >= 0 && f.splice(s, 1), e.key && e.key.toLowerCase() === "meta" && f.splice(0, f.length), (t === 93 || t === 224) && (t = 91), t in a) {
185
- a[t] = !1;
186
- for (const n in y)
187
- y[n] === t && (k[n] = !1);
174
+ const i = f.indexOf(t);
175
+ if (i >= 0 && f.splice(i, 1), e.key && e.key.toLowerCase() === "meta" && f.splice(0, f.length), (t === 93 || t === 224) && (t = 91), t in u) {
176
+ u[t] = !1;
177
+ for (const n in g)
178
+ g[n] === t && (K[n] = !1);
188
179
  }
189
180
  }
190
181
  function G(e) {
191
182
  if (typeof e == "undefined")
192
- Object.keys(c).forEach((i) => {
193
- Array.isArray(c[i]) && c[i].forEach((r) => C(r)), delete c[i];
183
+ Object.keys(c).forEach((s) => {
184
+ Array.isArray(c[s]) && c[s].forEach((r) => _(r)), delete c[s];
194
185
  }), S(null);
195
186
  else if (Array.isArray(e))
196
- e.forEach((i) => {
197
- i.key && C(i);
187
+ e.forEach((s) => {
188
+ s.key && _(s);
198
189
  });
199
190
  else if (typeof e == "object")
200
- e.key && C(e);
191
+ e.key && _(e);
201
192
  else if (typeof e == "string") {
202
- for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
203
- s[n - 1] = arguments[n];
204
- let [i, r] = s;
205
- typeof i == "function" && (r = i, i = ""), C({
193
+ for (var t = arguments.length, i = new Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++)
194
+ i[n - 1] = arguments[n];
195
+ let [s, r] = i;
196
+ typeof s == "function" && (r = s, s = ""), _({
206
197
  key: e,
207
- scope: i,
198
+ scope: s,
208
199
  method: r,
209
200
  splitKey: "+"
210
201
  });
211
202
  }
212
203
  }
213
- const C = (e) => {
204
+ const _ = (e) => {
214
205
  let {
215
206
  key: t,
216
- scope: s,
207
+ scope: i,
217
208
  method: n,
218
- splitKey: i = "+"
209
+ splitKey: s = "+"
219
210
  } = e;
220
211
  D(t).forEach((l) => {
221
- const o = l.split(i), u = o.length, h = o[u - 1], g = h === "*" ? "*" : O(h);
222
- if (!c[g])
212
+ const o = l.split(s), a = o.length, y = o[a - 1], h = y === "*" ? "*" : L(y);
213
+ if (!c[h])
223
214
  return;
224
- s || (s = _());
225
- const p = u > 1 ? B(y, o) : [], m = [];
226
- c[g] = c[g].filter((d) => {
227
- const K = (n ? d.method === n : !0) && d.scope === s && H(d.mods, p);
228
- return K && m.push(d.element), !K;
215
+ i || (i = x());
216
+ const p = a > 1 ? B(g, o) : [], m = [];
217
+ c[h] = c[h].filter((d) => {
218
+ const k = (n ? d.method === n : !0) && d.scope === i && H(d.mods, p);
219
+ return k && m.push(d.element), !k;
229
220
  }), m.forEach((d) => S(d));
230
221
  });
231
222
  };
232
- function T(e, t, s, n) {
223
+ function T(e, t, i, n) {
233
224
  if (t.element !== n)
234
225
  return;
235
- let i;
236
- if (t.scope === s || t.scope === "all") {
237
- i = t.mods.length > 0;
238
- for (const r in a)
239
- Object.prototype.hasOwnProperty.call(a, r) && (!a[r] && t.mods.indexOf(+r) > -1 || a[r] && t.mods.indexOf(+r) === -1) && (i = !1);
240
- (t.mods.length === 0 && !a[16] && !a[18] && !a[17] && !a[91] || i || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(f), t.method(e, t) === !1 && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, e.stopPropagation && e.stopPropagation(), e.cancelBubble && (e.cancelBubble = !0)));
226
+ let s;
227
+ if (t.scope === i || t.scope === "all") {
228
+ s = t.mods.length > 0;
229
+ for (const r in u)
230
+ Object.prototype.hasOwnProperty.call(u, r) && (!u[r] && t.mods.indexOf(+r) > -1 || u[r] && t.mods.indexOf(+r) === -1) && (s = !1);
231
+ (t.mods.length === 0 && !u[16] && !u[18] && !u[17] && !u[91] || s || t.shortcut === "*") && (t.keys = [], t.keys = t.keys.concat(f), t.method(e, t) === !1 && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, e.stopPropagation && e.stopPropagation(), e.cancelBubble && (e.cancelBubble = !0)));
241
232
  }
242
233
  }
243
234
  function U(e, t) {
244
- const s = c["*"];
235
+ const i = c["*"];
245
236
  let n = e.keyCode || e.which || e.charCode;
246
- if (e.key && e.key.toLowerCase() === "capslock" || !k.filter.call(this, e))
237
+ if (!K.filter.call(this, e))
247
238
  return;
248
239
  if ((n === 93 || n === 224) && (n = 91), f.indexOf(n) === -1 && n !== 229 && f.push(n), ["metaKey", "ctrlKey", "altKey", "shiftKey"].forEach((o) => {
249
- const u = b[o];
250
- e[o] && f.indexOf(u) === -1 ? f.push(u) : !e[o] && f.indexOf(u) > -1 ? f.splice(f.indexOf(u), 1) : o === "metaKey" && e[o] && (f = f.filter((h) => h in b || h === n));
251
- }), n in a) {
252
- a[n] = !0;
253
- for (const o in y)
254
- if (Object.prototype.hasOwnProperty.call(y, o)) {
255
- const u = b[y[o]];
256
- k[o] = e[u];
257
- }
258
- if (!s)
240
+ const a = C[o];
241
+ e[o] && f.indexOf(a) === -1 ? f.push(a) : !e[o] && f.indexOf(a) > -1 ? f.splice(f.indexOf(a), 1) : o === "metaKey" && e[o] && (f = f.filter((y) => y in C || y === n));
242
+ }), n in u) {
243
+ u[n] = !0;
244
+ for (const o in g)
245
+ g[o] === n && (K[o] = !0);
246
+ if (!i)
259
247
  return;
260
248
  }
261
- for (const o in a)
262
- Object.prototype.hasOwnProperty.call(a, o) && (a[o] = e[b[o]]);
263
- e.getModifierState && !(e.altKey && !e.ctrlKey) && e.getModifierState("AltGraph") && (f.indexOf(17) === -1 && f.push(17), f.indexOf(18) === -1 && f.push(18), a[17] = !0, a[18] = !0);
264
- const i = _();
265
- if (s)
266
- for (let o = 0; o < s.length; o++)
267
- s[o].scope === i && (e.type === "keydown" && s[o].keydown || e.type === "keyup" && s[o].keyup) && T(e, s[o], i, t);
249
+ for (const o in u)
250
+ Object.prototype.hasOwnProperty.call(u, o) && (u[o] = e[C[o]]);
251
+ e.getModifierState && !(e.altKey && !e.ctrlKey) && e.getModifierState("AltGraph") && (f.indexOf(17) === -1 && f.push(17), f.indexOf(18) === -1 && f.push(18), u[17] = !0, u[18] = !0);
252
+ const s = x();
253
+ if (i)
254
+ for (let o = 0; o < i.length; o++)
255
+ i[o].scope === s && (e.type === "keydown" && i[o].keydown || e.type === "keyup" && i[o].keyup) && T(e, i[o], s, t);
268
256
  if (!(n in c))
269
257
  return;
270
258
  const r = c[n], l = r.length;
271
259
  for (let o = 0; o < l; o++)
272
260
  if ((e.type === "keydown" && r[o].keydown || e.type === "keyup" && r[o].keyup) && r[o].key) {
273
- const u = r[o], {
274
- splitKey: h
275
- } = u, g = u.key.split(h), p = [];
276
- for (let m = 0; m < g.length; m++)
277
- p.push(O(g[m]));
278
- p.sort().join("") === f.sort().join("") && T(e, u, i, t);
261
+ const a = r[o], {
262
+ splitKey: y
263
+ } = a, h = a.key.split(y), p = [];
264
+ for (let m = 0; m < h.length; m++)
265
+ p.push(L(h[m]));
266
+ p.sort().join("") === f.sort().join("") && T(e, a, s, t);
279
267
  }
280
268
  }
281
- function k(e, t, s) {
269
+ function K(e, t, i) {
282
270
  f = [];
283
271
  const n = D(e);
284
- let i = [], r = "all", l = document, o = 0, u = !1, h = !0, g = "+", p = !1, m = !1;
285
- for (s === void 0 && typeof t == "function" && (s = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (r = t.scope), t.element && (l = t.element), t.keyup && (u = t.keyup), t.keydown !== void 0 && (h = t.keydown), t.capture !== void 0 && (p = t.capture), typeof t.splitKey == "string" && (g = t.splitKey), t.single === !0 && (m = !0)), typeof t == "string" && (r = t), m && G(e, r); o < n.length; o++)
286
- e = n[o].split(g), i = [], e.length > 1 && (i = B(y, e)), e = e[e.length - 1], e = e === "*" ? "*" : O(e), e in c || (c[e] = []), c[e].push({
287
- keyup: u,
288
- keydown: h,
272
+ let s = [], r = "all", l = document, o = 0, a = !1, y = !0, h = "+", p = !1, m = !1;
273
+ for (i === void 0 && typeof t == "function" && (i = t), Object.prototype.toString.call(t) === "[object Object]" && (t.scope && (r = t.scope), t.element && (l = t.element), t.keyup && (a = t.keyup), t.keydown !== void 0 && (y = t.keydown), t.capture !== void 0 && (p = t.capture), typeof t.splitKey == "string" && (h = t.splitKey), t.single === !0 && (m = !0)), typeof t == "string" && (r = t), m && G(e, r); o < n.length; o++)
274
+ e = n[o].split(h), s = [], e.length > 1 && (s = B(g, e)), e = e[e.length - 1], e = e === "*" ? "*" : L(e), e in c || (c[e] = []), c[e].push({
275
+ keyup: a,
276
+ keydown: y,
289
277
  scope: r,
290
- mods: i,
278
+ mods: s,
291
279
  shortcut: n[o],
292
- method: s,
280
+ method: i,
293
281
  key: n[o],
294
- splitKey: g,
282
+ splitKey: h,
295
283
  element: l
296
284
  });
297
285
  if (typeof l != "undefined" && window) {
298
286
  if (!w.has(l)) {
299
287
  const d = function() {
300
- let K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
301
- return U(K, l);
288
+ let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
289
+ return U(k, l);
302
290
  }, M = function() {
303
- let K = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
304
- U(K, l), Y(K);
291
+ let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.event;
292
+ U(k, l), W(k);
305
293
  };
306
294
  w.set(l, {
307
295
  keydownListener: d,
@@ -309,22 +297,22 @@ function k(e, t, s) {
309
297
  capture: p
310
298
  }), A(l, "keydown", d, p), A(l, "keyup", M, p);
311
299
  }
312
- if (!L) {
300
+ if (!E) {
313
301
  const d = () => {
314
302
  f = [];
315
303
  };
316
- L = {
304
+ E = {
317
305
  listener: d,
318
306
  capture: p
319
307
  }, A(window, "focus", d, p);
320
308
  }
321
309
  }
322
310
  }
323
- function Z(e) {
311
+ function Y(e) {
324
312
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "all";
325
- Object.keys(c).forEach((s) => {
326
- c[s].filter((i) => i.scope === t && i.shortcut === e).forEach((i) => {
327
- i && i.method && i.method();
313
+ Object.keys(c).forEach((i) => {
314
+ c[i].filter((s) => s.scope === t && s.shortcut === e).forEach((s) => {
315
+ s && s.method && s.method();
328
316
  });
329
317
  });
330
318
  }
@@ -332,53 +320,53 @@ function S(e) {
332
320
  const t = Object.values(c).flat();
333
321
  if (t.findIndex((n) => {
334
322
  let {
335
- element: i
323
+ element: s
336
324
  } = n;
337
- return i === e;
325
+ return s === e;
338
326
  }) < 0) {
339
327
  const {
340
328
  keydownListener: n,
341
- keyupListenr: i,
329
+ keyupListenr: s,
342
330
  capture: r
343
331
  } = w.get(e) || {};
344
- n && i && (E(e, "keyup", i, r), E(e, "keydown", n, r), w.delete(e));
332
+ n && s && (O(e, "keyup", s, r), O(e, "keydown", n, r), w.delete(e));
345
333
  }
346
- if ((t.length <= 0 || w.size <= 0) && (Object.keys(w).forEach((i) => {
334
+ if ((t.length <= 0 || w.size <= 0) && (Object.keys(w).forEach((s) => {
347
335
  const {
348
336
  keydownListener: r,
349
337
  keyupListenr: l,
350
338
  capture: o
351
- } = w.get(i) || {};
352
- r && l && (E(i, "keyup", l, o), E(i, "keydown", r, o), w.delete(i));
353
- }), w.clear(), Object.keys(c).forEach((i) => delete c[i]), L)) {
339
+ } = w.get(s) || {};
340
+ r && l && (O(s, "keyup", l, o), O(s, "keydown", r, o), w.delete(s));
341
+ }), w.clear(), Object.keys(c).forEach((s) => delete c[s]), E)) {
354
342
  const {
355
- listener: i,
343
+ listener: s,
356
344
  capture: r
357
- } = L;
358
- E(window, "focus", i, r), L = null;
345
+ } = E;
346
+ O(window, "focus", s, r), E = null;
359
347
  }
360
348
  }
361
349
  const P = {
362
350
  getPressedKeyString: X,
363
351
  setScope: F,
364
- getScope: _,
365
- deleteScope: W,
352
+ getScope: x,
353
+ deleteScope: Q,
366
354
  getPressedKeyCodes: V,
367
355
  getAllKeyCodes: q,
368
- isPressed: Q,
369
- filter: J,
370
- trigger: Z,
356
+ isPressed: J,
357
+ filter: v,
358
+ trigger: Y,
371
359
  unbind: G,
372
- keyMap: x,
373
- modifier: y,
374
- modifierMap: b
360
+ keyMap: b,
361
+ modifier: g,
362
+ modifierMap: C
375
363
  };
376
364
  for (const e in P)
377
- Object.prototype.hasOwnProperty.call(P, e) && (k[e] = P[e]);
365
+ Object.prototype.hasOwnProperty.call(P, e) && (K[e] = P[e]);
378
366
  if (typeof window != "undefined") {
379
367
  const e = window.hotkeys;
380
- k.noConflict = (t) => (t && window.hotkeys === k && (window.hotkeys = e), k), window.hotkeys = k;
368
+ K.noConflict = (t) => (t && window.hotkeys === K && (window.hotkeys = e), K), window.hotkeys = K;
381
369
  }
382
370
  export {
383
- k as hotkeys
371
+ K as hotkeys
384
372
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.73.1",
3
+ "version": "3.73.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",