@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,30 +1,30 @@
1
1
  var j = Object.defineProperty;
2
2
  var v = Object.getOwnPropertySymbols;
3
3
  var P = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
4
- var A = (m, o, e) => o in m ? j(m, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : m[o] = e, u = (m, o) => {
5
- for (var e in o || (o = {}))
6
- P.call(o, e) && A(m, e, o[e]);
4
+ var A = (m, o, t) => o in m ? j(m, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : m[o] = t, u = (m, o) => {
5
+ for (var t in o || (o = {}))
6
+ P.call(o, t) && A(m, t, o[t]);
7
7
  if (v)
8
- for (var e of v(o))
9
- _.call(o, e) && A(m, e, o[e]);
8
+ for (var t of v(o))
9
+ _.call(o, t) && A(m, t, o[t]);
10
10
  return m;
11
11
  };
12
- var d = (m, o, e) => (A(m, typeof o != "symbol" ? o + "" : o, e), e);
13
- var c = (m, o, e) => new Promise((t, i) => {
12
+ var d = (m, o, t) => (A(m, typeof o != "symbol" ? o + "" : o, t), t);
13
+ var c = (m, o, t) => new Promise((e, i) => {
14
14
  var s = (a) => {
15
15
  try {
16
- n(e.next(a));
16
+ n(t.next(a));
17
17
  } catch (h) {
18
18
  i(h);
19
19
  }
20
20
  }, r = (a) => {
21
21
  try {
22
- n(e.throw(a));
22
+ n(t.throw(a));
23
23
  } catch (h) {
24
24
  i(h);
25
25
  }
26
- }, n = (a) => a.done ? t(a.value) : Promise.resolve(a.value).then(s, r);
27
- n((e = e.apply(m, o)).next());
26
+ }, n = (a) => a.done ? e(a.value) : Promise.resolve(a.value).then(s, r);
27
+ n((t = t.apply(m, o)).next());
28
28
  });
29
29
  import * as F from "three";
30
30
  import { Controller as S } from "../base/BasePluginWithData.js";
@@ -40,6 +40,7 @@ import "../shared-utils/three/core/Sphere.js";
40
40
  import "../shared-utils/three/blink.js";
41
41
  import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
42
42
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
43
+ import "../vendor/earcut/src/earcut.js";
43
44
  import { equal as O } from "../shared-utils/equal.js";
44
45
  import "../shared-utils/five/FivePuppet.js";
45
46
  import { loadTexture as x } from "../shared-utils/three/loadTexture.js";
@@ -106,9 +107,9 @@ import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
106
107
  import "../shared-utils/three/Extras/Core/Interpolations.js";
107
108
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
108
109
  const g = { flowSpeed: 0.6, rotateSpeed: 0 };
109
- class st extends S {
110
- constructor(e) {
111
- super(e);
110
+ class re extends S {
111
+ constructor(t) {
112
+ super(t);
112
113
  // ==================== public properties ====================
113
114
  d(this, "data");
114
115
  /** 插件状态
@@ -129,10 +130,10 @@ class st extends S {
129
130
  d(this, "texturePromiseCache", /* @__PURE__ */ new Map());
130
131
  /** 销毁插件,移除所有副作用,销毁后将不响应任何 API */
131
132
  d(this, "dispose", () => {
132
- this.disable(), this.five.scene.remove(this.group), this.texturePromiseCache.forEach((e) => e.then((t) => t.dispose())), this.texturePromiseCache.clear();
133
+ this.disable(), this.five.scene.remove(this.group), this.texturePromiseCache.forEach((t) => t.then((e) => e.dispose())), this.texturePromiseCache.clear();
133
134
  });
134
- d(this, "onWantsFiveTapGesture", (...e) => {
135
- const [t] = e, i = t.intersectObjects(this.pipeObjects, !1);
135
+ d(this, "onWantsFiveTapGesture", (...t) => {
136
+ const [e] = t, i = e.intersectObjects(this.pipeObjects, !1);
136
137
  if (i.length === 0 || !this.data)
137
138
  return;
138
139
  const n = i[0].object.customID, a = this.data.pipes.find(({ id: p }) => p === n), h = this.data.pipelines.find((p) => a && p.pipes.includes(a));
@@ -141,7 +142,7 @@ class st extends S {
141
142
  intersectObjects: i,
142
143
  pipe: a,
143
144
  pipeline: h,
144
- wantsFiveTapGestureParams: e
145
+ wantsFiveTapGestureParams: t
145
146
  }), !1;
146
147
  });
147
148
  this.state = {
@@ -150,7 +151,7 @@ class st extends S {
150
151
  enabled: !0,
151
152
  isFlowing: !1,
152
153
  speed: g
153
- }, this.five = e, this.group = new F.Group(), this.group.name = "water-pipe-group", this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
154
+ }, this.five = t, this.group = new F.Group(), this.group.name = "water-pipe-group", this.five.scene.add(this.group), this.five.once("dispose", this.dispose), this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
154
155
  }
155
156
  /** 加载管道数据,重复调用会使用新数据覆盖旧数据
156
157
  * @param `data` `<Plugin.ServerData>` Open API 接口返回的数据。
@@ -162,10 +163,10 @@ class st extends S {
162
163
  * 函数返回的 string 就是当前 water 对应的贴图地址。
163
164
  */
164
165
  // eslint-disable-next-line max-params
165
- load(e, t, i, s) {
166
+ load(t, e, i, s) {
166
167
  return c(this, null, function* () {
167
168
  const r = this.data;
168
- this.data = yield this.formatData(e, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
169
+ this.data = yield this.formatData(t, s), this.removeAllPipes(), this.hooks.emit("dataChange", this.data, r), this.pipeObjects = yield Promise.all(
169
170
  this.data.pipes.filter((n) => !!(n != null && n.texture)).map((b) => c(this, [b], function* ({ id: n, texture: a, path: h, radius: p }) {
170
171
  const l = yield this.loadPipeTexture(a), f = { id: n, path: h, textureURL: a, texture: l, geometryConfig: { radius: p } };
171
172
  return new D(f);
@@ -175,7 +176,7 @@ class st extends S {
175
176
  const p = this.findPipeObjectWithID(h.id);
176
177
  return p == null || p.setInitialDisplacement(a), a + ((p == null ? void 0 : p.pathLength) || 0);
177
178
  }, 0);
178
- }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((n) => n.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), t && this.setState(t, { userAction: i });
179
+ }), this.hooks.emit("dataLoaded", this.data), this.state.visible === !1 && this.pipeObjects.forEach((n) => n.setOpacity(0)), this.state.enabled && (this.group.add(...this.pipeObjects), this.five.needsRender = !0), e && this.setState(e, { userAction: i });
179
180
  });
180
181
  }
181
182
  /** 更改插件 State
@@ -183,18 +184,18 @@ class st extends S {
183
184
  * @param `options` `<Option> | <undefined>`
184
185
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
185
186
  */
186
- setState(e, t = {}) {
187
+ setState(t, e = {}) {
187
188
  const i = this.state;
188
- if (O(e, i, { deep: !0 }))
189
+ if (O(t, i, { deep: !0 }))
189
190
  return;
190
- const s = t.userAction !== void 0 ? t.userAction : !0;
191
- if (this.updateState(e, s), e.enabled !== void 0 && i.enabled !== e.enabled && (e.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), e.visible !== void 0 && i.visible !== e.visible) {
191
+ const s = e.userAction !== void 0 ? e.userAction : !0;
192
+ if (this.updateState(t, s), t.enabled !== void 0 && i.enabled !== t.enabled && (t.enabled ? this._enable({ userAction: s }) : this._disable({ userAction: s })), t.visible !== void 0 && i.visible !== t.visible) {
192
193
  const r = { userAction: s, anime: { duration: 500 } };
193
- e.visible ? this._show(r) : this._hide(r);
194
+ t.visible ? this._show(r) : this._hide(r);
194
195
  }
195
- if (e.isFlowing !== void 0 && i.isFlowing !== e.isFlowing && (e.isFlowing ? this._flow() : this._stopFlow()), e.speed !== void 0 && !O(i.speed, this.state.speed, { deep: !0 }) && this._setSpeed(e.speed), e.target !== void 0 && !O(i.target, this.state.target, { deep: !0 })) {
196
+ if (t.isFlowing !== void 0 && i.isFlowing !== t.isFlowing && (t.isFlowing ? this._flow() : this._stopFlow()), t.speed !== void 0 && !O(i.speed, this.state.speed, { deep: !0 }) && this._setSpeed(t.speed), t.target !== void 0 && !O(i.target, this.state.target, { deep: !0 })) {
196
197
  const r = {
197
- target: e.target,
198
+ target: t.target,
198
199
  showAnime: { duration: 500 },
199
200
  hideAnime: { duration: 500 }
200
201
  };
@@ -205,23 +206,23 @@ class st extends S {
205
206
  * @param `options` `<Option> | <undefined>`
206
207
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
207
208
  */
208
- enable(e = {}) {
209
+ enable(t = {}) {
209
210
  var i;
210
211
  if (this.state.enabled)
211
212
  return;
212
- const t = (i = e.userAction) != null ? i : !0;
213
- this.updateState({ enabled: !0 }, t), this._enable({ userAction: t });
213
+ const e = (i = t.userAction) != null ? i : !0;
214
+ this.updateState({ enabled: !0 }, e), this._enable({ userAction: e });
214
215
  }
215
216
  /** 禁用插件
216
217
  * @param `options` `<Option> | <undefined>`
217
218
  * @param `options.userAction` `<boolean> | <undefined>` 是否是用户操作。默认是 true。
218
219
  */
219
- disable(e = {}) {
220
+ disable(t = {}) {
220
221
  var i;
221
222
  if (this.state.enabled === !1)
222
223
  return;
223
- const t = (i = e.userAction) != null ? i : !0;
224
- this.updateState({ enabled: !1, isFlowing: !1 }, t), this._disable({ userAction: t });
224
+ const e = (i = t.userAction) != null ? i : !0;
225
+ this.updateState({ enabled: !1, isFlowing: !1 }, e), this._disable({ userAction: e });
225
226
  }
226
227
  /** 展示管道模型,注意如果通过 `switchPipelines` 更改过 `visibleIDs`,则只会展示这一部分模型。
227
228
  * @param `options` `<Partial<ShowHideOptions>> | <undefined>`
@@ -230,14 +231,14 @@ class st extends S {
230
231
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
231
232
  */
232
233
  show() {
233
- return c(this, arguments, function* (e = {}) {
234
+ return c(this, arguments, function* (t = {}) {
234
235
  if (this.state.visible)
235
236
  return;
236
- const t = u({
237
+ const e = u({
237
238
  userAction: !0,
238
239
  anime: { duration: 500 }
239
- }, e);
240
- this.updateState({ visible: !0 }, t.userAction), yield this._show(t);
240
+ }, t);
241
+ this.updateState({ visible: !0 }, e.userAction), yield this._show(e);
241
242
  });
242
243
  }
243
244
  /** 插件内容整体隐藏
@@ -247,14 +248,14 @@ class st extends S {
247
248
  * @param `options.anime.duration` `<number> | <undefined>` 动画时间,默认是 500ms。
248
249
  */
249
250
  hide() {
250
- return c(this, arguments, function* (e = {}) {
251
+ return c(this, arguments, function* (t = {}) {
251
252
  if (this.state.visible === !1)
252
253
  return;
253
- const t = u({
254
+ const e = u({
254
255
  userAction: !0,
255
256
  anime: { duration: 500 }
256
- }, e);
257
- this.updateState({ visible: !1 }, t.userAction), yield this._hide(t);
257
+ }, t);
258
+ this.updateState({ visible: !1 }, e.userAction), yield this._hide(e);
258
259
  });
259
260
  }
260
261
  /** 切换管路
@@ -267,15 +268,15 @@ class st extends S {
267
268
  * @param `options.anime` `<AnimeOptions> | <undefined>` 兜底的动画配置。
268
269
  * @param `options.userAction` `<boolean> | <undefined>` 是否是否是用户操作。
269
270
  * */
270
- switchPipelines(e) {
271
+ switchPipelines(t) {
271
272
  return c(this, null, function* () {
272
273
  var h, p, b, l, f, w;
273
274
  if (!this.data)
274
275
  return;
275
- const t = (h = e == null ? void 0 : e.target) != null ? h : null, i = (p = e == null ? void 0 : e.userAction) != null ? p : !0;
276
- this.updateState({ target: t }, i);
277
- const s = { duration: 500 }, r = (l = (b = e == null ? void 0 : e.hideAnime) != null ? b : e == null ? void 0 : e.anime) != null ? l : s, n = (w = (f = e == null ? void 0 : e.showAnime) != null ? f : e == null ? void 0 : e.anime) != null ? w : s, a = {
278
- target: t,
276
+ const e = (h = t == null ? void 0 : t.target) != null ? h : null, i = (p = t == null ? void 0 : t.userAction) != null ? p : !0;
277
+ this.updateState({ target: e }, i);
278
+ const s = { duration: 500 }, r = (l = (b = t == null ? void 0 : t.hideAnime) != null ? b : t == null ? void 0 : t.anime) != null ? l : s, n = (w = (f = t == null ? void 0 : t.showAnime) != null ? f : t == null ? void 0 : t.anime) != null ? w : s, a = {
279
+ target: e,
279
280
  showAnime: n,
280
281
  hideAnime: r
281
282
  };
@@ -283,108 +284,108 @@ class st extends S {
283
284
  });
284
285
  }
285
286
  /** 开始流动 */
286
- flow(e = {}) {
287
+ flow(t = {}) {
287
288
  var i;
288
289
  if (this.state.isFlowing)
289
290
  return;
290
- const t = (i = e.userAction) != null ? i : !0;
291
- this.updateState({ isFlowing: !0 }, t), this._flow();
291
+ const e = (i = t.userAction) != null ? i : !0;
292
+ this.updateState({ isFlowing: !0 }, e), this._flow();
292
293
  }
293
294
  /** 停止流动 */
294
- stopFlow(e = {}) {
295
+ stopFlow(t = {}) {
295
296
  var i;
296
297
  if (this.state.isFlowing === !1)
297
298
  return;
298
- const t = (i = e.userAction) != null ? i : !0;
299
- this.updateState({ isFlowing: !1 }, t), this._stopFlow();
299
+ const e = (i = t.userAction) != null ? i : !0;
300
+ this.updateState({ isFlowing: !1 }, e), this._stopFlow();
300
301
  }
301
302
  /** 更改水管流速
302
303
  * @param `options` `<SetSpeedOptions> | <undefined>`
303
304
  * @param `options.speed` `<Speed> | <undefined>` 参考 `state.speed` 的描述。
304
305
  * @param `options.userAction` `<boolean> | <undefined>` 是否是否是用户操作。
305
306
  */
306
- setSpeed(e) {
307
+ setSpeed(t) {
307
308
  var s, r;
308
- const t = (s = e == null ? void 0 : e.speed) != null ? s : g, i = (r = e.userAction) != null ? r : !0;
309
- this.updateState({ speed: t }, i), this._setSpeed(t);
309
+ const e = (s = t == null ? void 0 : t.speed) != null ? s : g, i = (r = t.userAction) != null ? r : !0;
310
+ this.updateState({ speed: e }, i), this._setSpeed(e);
310
311
  }
311
- formatData(e, t) {
312
+ formatData(t, e) {
312
313
  return c(this, null, function* () {
313
- return y(e, t);
314
+ return y(t, e);
314
315
  });
315
316
  }
316
- _enable(e) {
317
- this.hooks.emit("enable", { userAction: e.userAction }), this.five.scene.add(this.group), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
317
+ _enable(t) {
318
+ this.hooks.emit("enable", { userAction: t.userAction }), this.five.scene.add(this.group), this.five.needsRender = !0, this.five.on("wantsTapGesture", this.onWantsFiveTapGesture);
318
319
  }
319
- _disable(e) {
320
- this.hooks.emit("disable", { userAction: e.userAction }), this.disposeAnime(), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture);
320
+ _disable(t) {
321
+ this.hooks.emit("disable", { userAction: t.userAction }), this.disposeAnime(), this.five.scene.remove(this.group), this.five.needsRender = !0, this.five.off("wantsTapGesture", this.onWantsFiveTapGesture);
321
322
  }
322
- _show(e) {
323
+ _show(t) {
323
324
  return c(this, null, function* () {
324
325
  var s;
325
- this.hooks.emit("show", { userAction: e.userAction });
326
- const t = (s = e == null ? void 0 : e.anime) != null ? s : { duration: 500 }, i = this.findPipeObjectWithTarget(this.state.target);
327
- yield Promise.all(i.map((r) => r == null ? void 0 : r.show(t))), this.five.needsRender = !0;
326
+ this.hooks.emit("show", { userAction: t.userAction });
327
+ const e = (s = t == null ? void 0 : t.anime) != null ? s : { duration: 500 }, i = this.findPipeObjectWithTarget(this.state.target);
328
+ yield Promise.all(i.map((r) => r == null ? void 0 : r.show(e))), this.five.needsRender = !0;
328
329
  });
329
330
  }
330
- _hide(e) {
331
+ _hide(t) {
331
332
  return c(this, null, function* () {
332
333
  var i;
333
- this.hooks.emit("hide", { userAction: e.userAction });
334
- const t = (i = e == null ? void 0 : e.anime) != null ? i : { duration: 500 };
335
- yield Promise.all(this.pipeObjects.map((s) => s.hide(t))), this.five.needsRender = !0;
334
+ this.hooks.emit("hide", { userAction: t.userAction });
335
+ const e = (i = t == null ? void 0 : t.anime) != null ? i : { duration: 500 };
336
+ yield Promise.all(this.pipeObjects.map((s) => s.hide(e))), this.five.needsRender = !0;
336
337
  });
337
338
  }
338
- _switchPipelines(e) {
339
+ _switchPipelines(t) {
339
340
  return c(this, null, function* () {
340
341
  if (!this.data)
341
342
  return;
342
- const t = this.findPipeObjectWithTarget(e.target), i = e.hideAnime;
343
+ const e = this.findPipeObjectWithTarget(t.target), i = t.hideAnime;
343
344
  yield Promise.all(this.pipeObjects.map((r) => r.hide(i)));
344
- const s = e.showAnime;
345
- yield Promise.all(t.map((r) => r.show(s)));
345
+ const s = t.showAnime;
346
+ yield Promise.all(e.map((r) => r.show(s)));
346
347
  });
347
348
  }
348
349
  _flow() {
349
- this.pipeObjects.forEach((e) => e.flow());
350
+ this.pipeObjects.forEach((t) => t.flow());
350
351
  }
351
352
  _stopFlow() {
352
- this.pipeObjects.forEach((e) => e.stopFlow());
353
+ this.pipeObjects.forEach((t) => t.stopFlow());
353
354
  }
354
- _setSpeed(e) {
355
- this.pipeObjects.forEach((t) => t.setSpeed(e));
355
+ _setSpeed(t) {
356
+ this.pipeObjects.forEach((e) => e.setSpeed(t));
356
357
  }
357
- updateState(e, t) {
358
+ updateState(t, e) {
358
359
  const i = this.state;
359
- this.state = u(u({}, this.state), e), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: t });
360
+ this.state = u(u({}, this.state), t), this.hooks.emit("stateChange", { state: this.state, prevState: i, userAction: e });
360
361
  }
361
362
  /** 加载管道贴图,如果再加载中,复用之前的加载 Promise */
362
- loadPipeTexture(e) {
363
+ loadPipeTexture(t) {
363
364
  return c(this, null, function* () {
364
- const t = this.texturePromiseCache.get(e);
365
- if (t)
366
- return t;
367
- const i = x(e);
368
- return this.texturePromiseCache.set(e, i), i;
365
+ const e = this.texturePromiseCache.get(t);
366
+ if (e)
367
+ return e;
368
+ const i = x(t);
369
+ return this.texturePromiseCache.set(t, i), i;
369
370
  });
370
371
  }
371
372
  /** 销毁所有动画 */
372
373
  disposeAnime() {
373
- this.pipeObjects.forEach((e) => e.disposeAnime()), this.five.needsRender = !0;
374
+ this.pipeObjects.forEach((t) => t.disposeAnime()), this.five.needsRender = !0;
374
375
  }
375
376
  /** 移除所有管道模型 */
376
377
  removeAllPipes() {
377
- this.disposeAnime(), this.group.remove(...this.pipeObjects), this.pipeObjects.forEach((e) => e.dispose()), this.pipeObjects = [], this.five.needsRender = !0;
378
+ this.disposeAnime(), this.group.remove(...this.pipeObjects), this.pipeObjects.forEach((t) => t.dispose()), this.pipeObjects = [], this.five.needsRender = !0;
378
379
  }
379
380
  /** 根据 ID 查找管道模型 */
380
- findPipeObjectWithID(e) {
381
- return this.pipeObjects.find(({ customID: t }) => t === e);
381
+ findPipeObjectWithID(t) {
382
+ return this.pipeObjects.find(({ customID: e }) => e === t);
382
383
  }
383
384
  /** 根据 target 查找管道模型 */
384
- findPipeObjectWithTarget(e) {
385
- return e ? C({ data: this.data, target: e }).map(({ id: i }) => this.findPipeObjectWithID(i)).filter(T) : this.pipeObjects;
385
+ findPipeObjectWithTarget(t) {
386
+ return t ? C({ data: this.data, target: t }).map(({ id: i }) => this.findPipeObjectWithID(i)).filter(T) : this.pipeObjects;
386
387
  }
387
388
  }
388
389
  export {
389
- st as Controller
390
+ re as Controller
390
391
  };
@@ -58,6 +58,7 @@ import "../shared-utils/three/core/Line2.js";
58
58
  import "../shared-utils/three/core/LineMaterial2.js";
59
59
  import "../Sculpt/utils/unit.js";
60
60
  import "../Sculpt/utils/renderDom.js";
61
+ import "../vendor/earcut/src/earcut.js";
61
62
  import "../shared-utils/five/FivePuppet.js";
62
63
  import "@realsee/five";
63
64
  import "../CSS3DRenderPlugin/utils/three/CSS3DSprite.js";
@@ -78,8 +79,8 @@ import "../shared-utils/animationFrame/BetterTween.js";
78
79
  import "../shared-utils/three/Extras/Curves/BezierCurve3.js";
79
80
  import "../shared-utils/three/Extras/Core/Interpolations.js";
80
81
  import "../shared-utils/three/Extras/Core/Interpolations2.js";
81
- const Ar = (r) => new o(r);
82
+ const Br = (r) => new o(r);
82
83
  export {
83
- Ar as PipelinePlugin,
84
- Ar as default
84
+ Br as PipelinePlugin,
85
+ Br as default
85
86
  };
@@ -13,6 +13,7 @@ import "../../../shared-utils/three/core/Sphere.js";
13
13
  import "../../../shared-utils/three/blink.js";
14
14
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
15
15
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
16
+ import "../../../vendor/earcut/src/earcut.js";
16
17
  import { requestAnimationFrameInterval as c } from "../../../shared-utils/animationFrame/index.js";
17
18
  import "../../../shared-utils/five/FivePuppet.js";
18
19
  import { ObjectPipe as h } from "./Pipe.js";
@@ -91,7 +92,7 @@ const d = (
91
92
  }
92
93
  `
93
94
  );
94
- class Rt extends h {
95
+ class jt extends h {
95
96
  constructor(t) {
96
97
  super(t, d);
97
98
  /** 初始状态下,当前水管内的水流在整体管道上的位移
@@ -149,5 +150,5 @@ class Rt extends h {
149
150
  }
150
151
  }
151
152
  export {
152
- Rt as ObjectFlowPipe
153
+ jt as ObjectFlowPipe
153
154
  };
@@ -13,6 +13,7 @@ import "../../../shared-utils/three/core/Sphere.js";
13
13
  import "../../../shared-utils/three/blink.js";
14
14
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
15
15
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
16
+ import "../../../vendor/earcut/src/earcut.js";
16
17
  import { tweenProgress as h } from "../../../shared-utils/animationFrame/BetterTween.js";
17
18
  import "../../../shared-utils/five/FivePuppet.js";
18
19
  import { ObjectPipe as a } from "./Pipe.js";
@@ -72,7 +73,7 @@ import "../../../shared-utils/animationFrame/index.js";
72
73
  import "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
73
74
  import "../../../shared-utils/three/Extras/Core/Interpolations.js";
74
75
  import "../../../shared-utils/three/Extras/Core/Interpolations2.js";
75
- class Mi extends a {
76
+ class Ri extends a {
76
77
  constructor(i) {
77
78
  super(i);
78
79
  p(this, "imageCount", 64);
@@ -95,5 +96,5 @@ class Mi extends a {
95
96
  }
96
97
  }
97
98
  export {
98
- Mi as ObjectHighlightPipe
99
+ Ri as ObjectHighlightPipe
99
100
  };
@@ -10,20 +10,20 @@ var f = (p, i, t) => i in p ? d(p, i, { enumerable: !0, configurable: !0, writab
10
10
  return p;
11
11
  };
12
12
  var n = (p, i, t) => (f(p, typeof i != "symbol" ? i + "" : i, t), t);
13
- var l = (p, i, t) => new Promise((e, m) => {
13
+ var l = (p, i, t) => new Promise((r, m) => {
14
14
  var o = (s) => {
15
15
  try {
16
16
  a(t.next(s));
17
17
  } catch (c) {
18
18
  m(c);
19
19
  }
20
- }, r = (s) => {
20
+ }, e = (s) => {
21
21
  try {
22
22
  a(t.throw(s));
23
23
  } catch (c) {
24
24
  m(c);
25
25
  }
26
- }, a = (s) => s.done ? e(s.value) : Promise.resolve(s.value).then(o, r);
26
+ }, a = (s) => s.done ? r(s.value) : Promise.resolve(s.value).then(o, e);
27
27
  a((t = t.apply(p, i)).next());
28
28
  });
29
29
  import * as u from "three";
@@ -38,6 +38,7 @@ import "../../../shared-utils/three/core/Sphere.js";
38
38
  import "../../../shared-utils/three/blink.js";
39
39
  import "../../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
40
40
  import "../../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
41
+ import "../../../vendor/earcut/src/earcut.js";
41
42
  import { BetterTween as g } from "../../../shared-utils/animationFrame/BetterTween.js";
42
43
  import "../../../shared-utils/five/FivePuppet.js";
43
44
  import { CustomBezierCurve3 as x } from "../../../shared-utils/three/Extras/Curves/BezierCurve3.js";
@@ -124,7 +125,7 @@ const C = (
124
125
  `
125
126
  );
126
127
  class h extends u.Mesh {
127
- constructor(t, e = O) {
128
+ constructor(t, r = O) {
128
129
  super();
129
130
  n(this, "geometryConfig", {
130
131
  radius: 1.5 / 100,
@@ -140,9 +141,9 @@ class h extends u.Mesh {
140
141
  /** u / m: 每米水管对应到贴图上,应该对应的 u 的长度 */
141
142
  n(this, "uPreMeter", 1);
142
143
  t.geometryConfig && (this.geometryConfig = y(y({}, this.geometryConfig), t.geometryConfig)), this.customID = t.id || this.uuid, this.pathPoints = t.path, this.path = h.calculatePath(t.path.map((s) => new u.Vector3().fromArray(s))), this.pathLength = this.path.getLength(), this.texture = h.formatTexture(t.texture);
143
- const { radius: m, tubularSegments: o, radialSegments: r } = this.geometryConfig, a = h.formatTexture(t.texture);
144
+ const { radius: m, tubularSegments: o, radialSegments: e } = this.geometryConfig, a = h.formatTexture(t.texture);
144
145
  this.geometry = h.formatGeometryUV(
145
- new u.TubeBufferGeometry(this.path, o, m, r),
146
+ new u.TubeBufferGeometry(this.path, o, m, e),
146
147
  this.pathLength,
147
148
  this.uPreMeter
148
149
  ), this.material = new u.ShaderMaterial({
@@ -156,7 +157,7 @@ class h extends u.Mesh {
156
157
  },
157
158
  transparent: !0,
158
159
  vertexShader: C,
159
- fragmentShader: e
160
+ fragmentShader: r
160
161
  });
161
162
  }
162
163
  /** 根据控制点数量计算管道路径
@@ -166,11 +167,11 @@ class h extends u.Mesh {
166
167
  static calculatePath(t) {
167
168
  return t.length === 2 ? new u.LineCurve3(t[0], t[1]) : new x(t);
168
169
  }
169
- static formatGeometryUV(t, e, m) {
170
+ static formatGeometryUV(t, r, m) {
170
171
  const o = t.getAttribute("uv");
171
- for (let r = 0; r < o.count; r++) {
172
- const a = o.getX(r) * e * m;
173
- o.setX(r, a);
172
+ for (let e = 0; e < o.count; e++) {
173
+ const a = o.getX(e) * r * m;
174
+ o.setX(e, a);
174
175
  }
175
176
  return t;
176
177
  }
@@ -184,13 +185,13 @@ class h extends u.Mesh {
184
185
  return l(this, null, function* () {
185
186
  var o;
186
187
  (o = this.opacityAnime) == null || o.dispose();
187
- const e = 0;
188
+ const r = 0;
188
189
  if (typeof (t == null ? void 0 : t.duration) != "number")
189
- return this.setOpacity(e);
190
+ return this.setOpacity(r);
190
191
  const m = this.material.uniforms.opacity.value;
191
- return m === e ? !0 : new Promise((r) => {
192
- this.opacityAnime = new g({ progress: m }).to({ progress: e }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => r(!0)).onDispose(() => {
193
- this.setOpacity(e), r(!1);
192
+ return m === r ? !0 : new Promise((e) => {
193
+ this.opacityAnime = new g({ progress: m }).to({ progress: r }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => e(!0)).onDispose(() => {
194
+ this.setOpacity(r), e(!1);
194
195
  }).play();
195
196
  });
196
197
  });
@@ -199,13 +200,13 @@ class h extends u.Mesh {
199
200
  return l(this, null, function* () {
200
201
  var o;
201
202
  (o = this.opacityAnime) == null || o.dispose();
202
- const e = 1;
203
+ const r = 1;
203
204
  if (typeof (t == null ? void 0 : t.duration) != "number")
204
- return this.setOpacity(e);
205
+ return this.setOpacity(r);
205
206
  const m = this.material.uniforms.opacity.value;
206
- return new Promise((r) => {
207
- this.opacityAnime = new g({ progress: m }).to({ progress: e }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => r(!0)).onDispose(() => {
208
- this.setOpacity(e), r(!1);
207
+ return new Promise((e) => {
208
+ this.opacityAnime = new g({ progress: m }).to({ progress: r }).onUpdate(({ progress: a }) => this.setOpacity(a)).onComplete(() => e(!0)).onDispose(() => {
209
+ this.setOpacity(r), e(!1);
209
210
  }).play();
210
211
  });
211
212
  });
@@ -17,8 +17,9 @@ import "../../shared-utils/three/core/Sphere.js";
17
17
  import "../../shared-utils/three/blink.js";
18
18
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
19
19
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
20
+ import "../../vendor/earcut/src/earcut.js";
20
21
  import "../../shared-utils/five/FivePuppet.js";
21
- class N extends u {
22
+ class S extends u {
22
23
  constructor(t) {
23
24
  super(t);
24
25
  e(this, "_normal");
@@ -49,5 +50,5 @@ class N extends u {
49
50
  }
50
51
  }
51
52
  export {
52
- N as CircleMesh
53
+ S as CircleMesh
53
54
  };
@@ -25,11 +25,12 @@ import "../../shared-utils/three/core/Sphere.js";
25
25
  import "../../shared-utils/three/blink.js";
26
26
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
27
27
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
28
+ import "../../vendor/earcut/src/earcut.js";
28
29
  import "../../shared-utils/five/FivePuppet.js";
29
30
  import { CircleWithEdgeMesh as C } from "./CircleWithEdge.js";
30
31
  import { radiusToSegments as M } from "../utils/radiusToSegments.js";
31
32
  import { ColoredMesh as _ } from "../utils/three/ColoredMesh.js";
32
- class H extends b {
33
+ class O extends b {
33
34
  constructor(t) {
34
35
  super();
35
36
  o(this, "bottomCircle");
@@ -96,5 +97,5 @@ class H extends b {
96
97
  }
97
98
  }
98
99
  export {
99
- H as CylinderMesh
100
+ O as CylinderMesh
100
101
  };
@@ -33,9 +33,10 @@ import "../../shared-utils/three/core/Sphere.js";
33
33
  import "../../shared-utils/three/blink.js";
34
34
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
35
35
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
36
+ import "../../vendor/earcut/src/earcut.js";
36
37
  import { notNil as m } from "../../shared-utils/isNil.js";
37
38
  import "../../shared-utils/five/FivePuppet.js";
38
- class Oe extends te {
39
+ class We extends te {
39
40
  constructor(e) {
40
41
  var h, l, f, d;
41
42
  super();
@@ -258,5 +259,5 @@ class Oe extends te {
258
259
  }
259
260
  }
260
261
  export {
261
- Oe as LineMesh
262
+ We as LineMesh
262
263
  };