@realsee/dnalogel 3.77.10-alpha.0 → 3.77.11-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/CHANGELOG.md +847 -836
  2. package/dist/GuideLinePlugin/Controller.d.ts +34 -2
  3. package/dist/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  4. package/dist/index.cjs.js +17 -17
  5. package/dist/index.js +217 -188
  6. package/dist/index.umd.js +4 -4
  7. package/docs/.nojekyll +1 -0
  8. package/docs/assets/custom.css +0 -0
  9. package/docs/assets/highlight.css +127 -0
  10. package/docs/assets/icons.js +18 -0
  11. package/docs/assets/icons.svg +1 -0
  12. package/docs/assets/main.js +60 -0
  13. package/docs/assets/navigation.js +1 -0
  14. package/docs/assets/search.js +1 -0
  15. package/docs/assets/style.css +1493 -0
  16. package/docs/classes/AreaMakerPluginType.AreaMakerController.html +59 -0
  17. package/docs/classes/AreaMakerPluginType.AreaMakerItem.html +71 -0
  18. package/docs/classes/CSS3DRender.html +100 -0
  19. package/docs/classes/GuideLineItem.GuideLineItem.html +21 -0
  20. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +70 -0
  21. package/docs/classes/ModelMakerPluginInstance.html +77 -0
  22. package/docs/classes/ModelMakerPluginType.ModelMakerBoxItem.html +46 -0
  23. package/docs/classes/ModelMakerPluginType.ModelMakerPolygonItem.html +46 -0
  24. package/docs/classes/ModelMakerPluginType.ModelMakerPrismItem.html +47 -0
  25. package/docs/classes/ModelRoomLabelController.html +19 -0
  26. package/docs/classes/MoveController.html +45 -0
  27. package/docs/classes/Object3DHelperController.html +45 -0
  28. package/docs/classes/PaintBrush.html +15 -0
  29. package/docs/classes/PanoMeasurePluginLine.html +24 -0
  30. package/docs/classes/PanoMeasurePluginModel.html +23 -0
  31. package/docs/classes/PanoMeasurePluginPoint.html +7 -0
  32. package/docs/classes/PanoMeasurePluginPolyline.html +27 -0
  33. package/docs/classes/PanoTagPluginController.html +111 -0
  34. package/docs/classes/Sculpt.html +71 -0
  35. package/docs/classes/Util.BetterTween.html +6 -0
  36. package/docs/classes/Util.FiveDomEvents.html +13 -0
  37. package/docs/classes/Util.FivePuppet.html +20 -0
  38. package/docs/classes/Util.Interval.html +11 -0
  39. package/docs/classes/Util.LegacyPointHelper.html +7 -0
  40. package/docs/classes/Util.LightTag.html +47 -0
  41. package/docs/classes/Util.LineSegments.html +4 -0
  42. package/docs/classes/Util.Magnifier.html +26 -0
  43. package/docs/classes/Util.Object3D.html +8 -0
  44. package/docs/classes/Util.PointDomHelper.html +8 -0
  45. package/docs/classes/Util.PointHelper.html +10 -0
  46. package/docs/classes/Util.PointSelector.html +60 -0
  47. package/docs/classes/Util.PointSelectorHelper.html +14 -0
  48. package/docs/classes/Util.Rectangle.html +12 -0
  49. package/docs/classes/Util.sculpt.BaseEditor.html +17 -0
  50. package/docs/classes/Util.sculpt.BoxMesh.html +47 -0
  51. package/docs/classes/Util.sculpt.BoxMeshEditor.html +18 -0
  52. package/docs/classes/Util.sculpt.CircleMesh.html +26 -0
  53. package/docs/classes/Util.sculpt.CircleMeshEditor.html +18 -0
  54. package/docs/classes/Util.sculpt.CircleWithEdgeMesh.html +26 -0
  55. package/docs/classes/Util.sculpt.CylinderMesh.html +25 -0
  56. package/docs/classes/Util.sculpt.CylinderMeshEditor.html +18 -0
  57. package/docs/classes/Util.sculpt.LineMesh.html +34 -0
  58. package/docs/classes/Util.sculpt.PointMesh.html +24 -0
  59. package/docs/classes/Util.sculpt.PolygonMesh.html +40 -0
  60. package/docs/classes/Util.sculpt.PrismMesh.html +47 -0
  61. package/docs/classes/Util.sculpt.PrismMeshEditor.html +18 -0
  62. package/docs/classes/Util.sculpt.RectangleMesh.html +41 -0
  63. package/docs/classes/Util.sculpt.RectangleMeshEditor.html +18 -0
  64. package/docs/classes/Util.sculpt.RectangleWithEdgeMesh.html +44 -0
  65. package/docs/classes/WalkController.html +42 -0
  66. package/docs/enums/CameraMovementEffect.html +4 -0
  67. package/docs/enums/ContentType.html +34 -0
  68. package/docs/enums/DIRECTION.html +5 -0
  69. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +5 -0
  70. package/docs/enums/DimensionType.html +4 -0
  71. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +4 -0
  72. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +5 -0
  73. package/docs/enums/PaintBrushTypeEnum.html +4 -0
  74. package/docs/enums/PointType.html +4 -0
  75. package/docs/enums/Rotation.html +5 -0
  76. package/docs/functions/AreaMakerPlugin.html +1 -0
  77. package/docs/functions/CSS3DRenderPlugin.html +1 -0
  78. package/docs/functions/CameraMovementPlugin.html +2 -0
  79. package/docs/functions/CruisePlugin.html +1 -0
  80. package/docs/functions/CurrentPanoImagePlugin.html +1 -0
  81. package/docs/functions/FloorplanGuidePlugin.html +1 -0
  82. package/docs/functions/GuideLinePlugin.html +1 -0
  83. package/docs/functions/ItemLabelPlugin.html +1 -0
  84. package/docs/functions/MapviewFloorplanPlugin.html +1 -0
  85. package/docs/functions/MeasurePlugin.html +1 -0
  86. package/docs/functions/ModelChassisCompassPlugin.html +2 -0
  87. package/docs/functions/ModelEntryDoorGuidePlugin.html +2 -0
  88. package/docs/functions/ModelFloorplanPlugin.html +1 -0
  89. package/docs/functions/ModelItemLabelPlugin.html +1 -0
  90. package/docs/functions/ModelMakerPlugin.html +1 -0
  91. package/docs/functions/ModelRoomLabelPlugin.html +1 -0
  92. package/docs/functions/ModelTVVideoPlugin.html +1 -0
  93. package/docs/functions/ModelViewPlugin.html +2 -0
  94. package/docs/functions/MovePlugin.html +1 -0
  95. package/docs/functions/Object3DHelperPlugin.html +1 -0
  96. package/docs/functions/PanoCompassPlugin.html +1 -0
  97. package/docs/functions/PanoCursorRaycasterPlugin.html +2 -0
  98. package/docs/functions/PanoDoorLabelPlugin.html +1 -0
  99. package/docs/functions/PanoFloorplanRadarPlugin.html +1 -0
  100. package/docs/functions/PanoMeasurePlugin.html +1 -0
  101. package/docs/functions/PanoRulerPlugin.html +2 -0
  102. package/docs/functions/PanoRulerProPlugin.html +2 -0
  103. package/docs/functions/PanoSpatialTagPlugin.html +2 -0
  104. package/docs/functions/PanoTagPlugin.html +1 -0
  105. package/docs/functions/PanoVideoPlugin.html +10 -0
  106. package/docs/functions/PipelinePlugin.html +1 -0
  107. package/docs/functions/SculptPlugin.html +2 -0
  108. package/docs/functions/SculptPluginForFive.html +2 -0
  109. package/docs/functions/TopviewFloorplanPlugin.html +1 -0
  110. package/docs/functions/Util.awaitNextFrame.html +1 -0
  111. package/docs/functions/Util.blink.html +13 -0
  112. package/docs/functions/Util.blinkWithPreset.html +6 -0
  113. package/docs/functions/Util.bounding.html +1 -0
  114. package/docs/functions/Util.boundingBox.html +1 -0
  115. package/docs/functions/Util.boundingSphere.html +1 -0
  116. package/docs/functions/Util.boxVertex.html +7 -0
  117. package/docs/functions/Util.boxVertexes.html +1 -0
  118. package/docs/functions/Util.checkFiveModelLoaded.html +2 -0
  119. package/docs/functions/Util.cleanup.html +3 -0
  120. package/docs/functions/Util.convexHull.html +2 -0
  121. package/docs/functions/Util.equal.html +5 -0
  122. package/docs/functions/Util.fiveModelIsLoaded.html +2 -0
  123. package/docs/functions/Util.getCoordsFromClient.html +1 -0
  124. package/docs/functions/Util.getCoordsFromElement.html +1 -0
  125. package/docs/functions/Util.getFrameTime.html +3 -0
  126. package/docs/functions/Util.getIntersectFromRelativePosition.html +1 -0
  127. package/docs/functions/Util.getRaycasterFromFivePointer.html +1 -0
  128. package/docs/functions/Util.initialCSS3DRender.html +1 -0
  129. package/docs/functions/Util.inside.html +1 -0
  130. package/docs/functions/Util.isModelLike.html +1 -0
  131. package/docs/functions/Util.isNil.html +2 -0
  132. package/docs/functions/Util.isPanoramaLike.html +1 -0
  133. package/docs/functions/Util.lookObject.html +5 -0
  134. package/docs/functions/Util.lookPoint.html +5 -0
  135. package/docs/functions/Util.nextFrame.html +1 -0
  136. package/docs/functions/Util.notNil.html +2 -0
  137. package/docs/functions/Util.reblink.html +13 -0
  138. package/docs/functions/Util.replaceStaticPrefix.html +8 -0
  139. package/docs/functions/Util.requestAnimationFrameInterval.html +5 -0
  140. package/docs/functions/Util.sculpt.createBox.html +1 -0
  141. package/docs/functions/Util.sculpt.createCircle.html +1 -0
  142. package/docs/functions/Util.sculpt.createCylinder.html +1 -0
  143. package/docs/functions/Util.sculpt.createLine.html +2 -0
  144. package/docs/functions/Util.sculpt.createPoint.html +1 -0
  145. package/docs/functions/Util.sculpt.createPolygon.html +1 -0
  146. package/docs/functions/Util.sculpt.createPrism.html +1 -0
  147. package/docs/functions/Util.sculpt.createRectangle.html +2 -0
  148. package/docs/functions/Util.tag.html +1 -0
  149. package/docs/functions/Util.tweenProgress.html +1 -0
  150. package/docs/functions/Util.uuid.html +2 -0
  151. package/docs/functions/Util.waitFiveModelLoaded.html +2 -0
  152. package/docs/functions/Util.worldBounding.html +1 -0
  153. package/docs/functions/Util.worldBoundingBox.html +1 -0
  154. package/docs/functions/Util.worldBoundingSphere.html +1 -0
  155. package/docs/functions/createPolyline.html +2 -0
  156. package/docs/functions/pluginFlag.html +1 -0
  157. package/docs/hierarchy.html +1 -0
  158. package/docs/index.html +70 -0
  159. package/docs/interfaces/AreaMakerPluginType.AnimeOptions.html +4 -0
  160. package/docs/interfaces/AreaMakerPluginType.Config.html +8 -0
  161. package/docs/interfaces/AreaMakerPluginType.EventMap.html +25 -0
  162. package/docs/interfaces/AreaMakerPluginType.Params.html +4 -0
  163. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItem.html +20 -0
  164. package/docs/interfaces/AreaMakerPluginType.ServerAreaMakerItemV1.html +13 -0
  165. package/docs/interfaces/AreaMakerPluginType.ServerDataV1.html +9 -0
  166. package/docs/interfaces/AreaMakerPluginType.ServerDataV2.html +3 -0
  167. package/docs/interfaces/AreaMakerPluginType.ShowHideOptions.html +3 -0
  168. package/docs/interfaces/AreaMakerPluginType.State.html +8 -0
  169. package/docs/interfaces/CSS3DRenderPluginEventMap.html +9 -0
  170. package/docs/interfaces/CSS3DRenderPluginState.html +7 -0
  171. package/docs/interfaces/CameraMovementPluginExportType.html +11 -0
  172. package/docs/interfaces/ContentTypeMapInterface.html +73 -0
  173. package/docs/interfaces/CruisePluginTypes.Config.html +7 -0
  174. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +8 -0
  175. package/docs/interfaces/CruisePluginTypes.EventMap.html +33 -0
  176. package/docs/interfaces/CruisePluginTypes.GuildLineConfig.html +6 -0
  177. package/docs/interfaces/CruisePluginTypes.MoveAction.html +16 -0
  178. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +19 -0
  179. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +20 -0
  180. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -0
  181. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +2 -0
  182. package/docs/interfaces/CruisePluginTypes.PluginState.html +15 -0
  183. package/docs/interfaces/CurrentPanoImagePluginType.Config.html +13 -0
  184. package/docs/interfaces/CurrentPanoImagePluginType.EventMap.html +15 -0
  185. package/docs/interfaces/CurrentPanoImagePluginType.Params.html +4 -0
  186. package/docs/interfaces/CurrentPanoImagePluginType.ShowHideOptions.html +3 -0
  187. package/docs/interfaces/CurrentPanoImagePluginType.State.html +7 -0
  188. package/docs/interfaces/FloorplanBounding.html +9 -0
  189. package/docs/interfaces/FloorplanData.html +7 -0
  190. package/docs/interfaces/FloorplanEntrance.html +14 -0
  191. package/docs/interfaces/FloorplanExtraObject.html +9 -0
  192. package/docs/interfaces/FloorplanExtraObject3D.html +5 -0
  193. package/docs/interfaces/FloorplanFloorData.html +9 -0
  194. package/docs/interfaces/FloorplanImagePosition.html +4 -0
  195. package/docs/interfaces/FloorplanObserver.html +8 -0
  196. package/docs/interfaces/FloorplanOutlineItem.html +6 -0
  197. package/docs/interfaces/FloorplanPosition.html +4 -0
  198. package/docs/interfaces/FloorplanRoomItem.html +24 -0
  199. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -0
  200. package/docs/interfaces/FloorplanServerBounding.html +9 -0
  201. package/docs/interfaces/FloorplanServerComputedData.html +6 -0
  202. package/docs/interfaces/FloorplanServerData.html +4 -0
  203. package/docs/interfaces/FloorplanServerDoorItem.html +6 -0
  204. package/docs/interfaces/FloorplanServerDoorPosition.html +4 -0
  205. package/docs/interfaces/FloorplanServerEntrance.html +14 -0
  206. package/docs/interfaces/FloorplanServerFloorData.html +8 -0
  207. package/docs/interfaces/FloorplanServerImagePosition.html +4 -0
  208. package/docs/interfaces/FloorplanServerObserver.html +8 -0
  209. package/docs/interfaces/FloorplanServerOutlineItem.html +6 -0
  210. package/docs/interfaces/FloorplanServerPosition.html +4 -0
  211. package/docs/interfaces/FloorplanServerRoomItem.html +27 -0
  212. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -0
  213. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +4 -0
  214. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +7 -0
  215. package/docs/interfaces/GuideLinePluginType.EventMap.html +13 -0
  216. package/docs/interfaces/GuideLinePluginType.ExtraRouteData.html +5 -0
  217. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +8 -0
  218. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +2 -0
  219. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +32 -0
  220. package/docs/interfaces/GuideLinePluginType.GuideLineMeshStyle.html +4 -0
  221. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +5 -0
  222. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +42 -0
  223. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +3 -0
  224. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +57 -0
  225. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +1 -0
  226. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +2 -0
  227. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -0
  228. package/docs/interfaces/GuideLinePluginType.Route.html +13 -0
  229. package/docs/interfaces/HelperOffset.html +4 -0
  230. package/docs/interfaces/ImagePlaneGroup.html +3 -0
  231. package/docs/interfaces/ItemLabelPluginData.html +2 -0
  232. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +7 -0
  233. package/docs/interfaces/ItemLabelPluginParametersType.html +5 -0
  234. package/docs/interfaces/MinMax.html +3 -0
  235. package/docs/interfaces/ModelChassisCompassPluginData.html +3 -0
  236. package/docs/interfaces/ModelChassisCompassPluginExportType.html +4 -0
  237. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +3 -0
  238. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +4 -0
  239. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +4 -0
  240. package/docs/interfaces/ModelItemLabelPluginData.html +2 -0
  241. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +7 -0
  242. package/docs/interfaces/ModelItemLabelPluginParametersType.html +3 -0
  243. package/docs/interfaces/ModelMakerPluginType.BoxItemObjectData.html +17 -0
  244. package/docs/interfaces/ModelMakerPluginType.EventMap.html +18 -0
  245. package/docs/interfaces/ModelMakerPluginType.PrismItemObjectData.html +23 -0
  246. package/docs/interfaces/ModelMakerPluginType.ServerBaseItem.html +11 -0
  247. package/docs/interfaces/ModelMakerPluginType.ServerBoxItem.html +10 -0
  248. package/docs/interfaces/ModelMakerPluginType.ServerData.html +3 -0
  249. package/docs/interfaces/ModelMakerPluginType.ServerPrismItem.html +10 -0
  250. package/docs/interfaces/ModelMakerPluginType.ServerTrianglesItem.html +10 -0
  251. package/docs/interfaces/ModelMakerPluginType.State.html +8 -0
  252. package/docs/interfaces/ModelMakerPluginType.TrianglesItemObjectData.html +11 -0
  253. package/docs/interfaces/ModelRoomLabelPluginData.html +2 -0
  254. package/docs/interfaces/ModelTVVideoPluginData.html +5 -0
  255. package/docs/interfaces/ModelTVVideoPluginExportType.html +4 -0
  256. package/docs/interfaces/ModelTVVideoPluginParameterType.html +2 -0
  257. package/docs/interfaces/ModelViewPluginExportType.html +8 -0
  258. package/docs/interfaces/Object3DHelperState.html +4 -0
  259. package/docs/interfaces/ObjectHelperControllers.html +5 -0
  260. package/docs/interfaces/PaintBrushAction.html +14 -0
  261. package/docs/interfaces/PaintBrushConfigs.html +8 -0
  262. package/docs/interfaces/PaintBrushState.html +6 -0
  263. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +16 -0
  264. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +1 -0
  265. package/docs/interfaces/PanoMeasureParameterType.html +20 -0
  266. package/docs/interfaces/PanoMeasurePluginLineJson.html +4 -0
  267. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +4 -0
  268. package/docs/interfaces/PanoMeasurePluginPointJson.html +3 -0
  269. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -0
  270. package/docs/interfaces/PanoRulerPluginExportType.html +6 -0
  271. package/docs/interfaces/PanoRulerPluginOptions.html +3 -0
  272. package/docs/interfaces/PanoRulerPluginParameterType.html +4 -0
  273. package/docs/interfaces/PanoRulerProPluginExportType.html +5 -0
  274. package/docs/interfaces/PanoRulerProPluginOptions.html +3 -0
  275. package/docs/interfaces/PanoRulerProPluginParameterType.html +3 -0
  276. package/docs/interfaces/PanoRulerProPluginState.html +4 -0
  277. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +1 -0
  278. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +1 -0
  279. package/docs/interfaces/PanoSpatialTagPluginData.html +7 -0
  280. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +6 -0
  281. package/docs/interfaces/PanoSpatialTagPluginExportType.html +9 -0
  282. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +6 -0
  283. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +9 -0
  284. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +7 -0
  285. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +6 -0
  286. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +3 -0
  287. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +8 -0
  288. package/docs/interfaces/PanoVideoPluginType.PluginData.html +2 -0
  289. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +15 -0
  290. package/docs/interfaces/PanoVideoPluginType.PluginState.html +2 -0
  291. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +14 -0
  292. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +13 -0
  293. package/docs/interfaces/PluginEventMap.html +16 -0
  294. package/docs/interfaces/Point.html +4 -0
  295. package/docs/interfaces/Room.html +5 -0
  296. package/docs/interfaces/RoomInfo.html +3 -0
  297. package/docs/interfaces/RoomLabel.html +16 -0
  298. package/docs/interfaces/RoomRules.html +1 -0
  299. package/docs/interfaces/Rooms.html +1 -0
  300. package/docs/interfaces/Scissor.html +13 -0
  301. package/docs/interfaces/SculptConfig.html +14 -0
  302. package/docs/interfaces/State.html +7 -0
  303. package/docs/interfaces/TagCacheInterface.html +9 -0
  304. package/docs/interfaces/TagConfig.html +164 -0
  305. package/docs/interfaces/TagGLTFObjectGroup.html +3 -0
  306. package/docs/interfaces/TagIconAnimationConfig.html +7 -0
  307. package/docs/interfaces/TagIconUrl.html +20 -0
  308. package/docs/interfaces/TagObjectGroup.html +3 -0
  309. package/docs/interfaces/TagState.html +3 -0
  310. package/docs/interfaces/TagStyle.html +5 -0
  311. package/docs/interfaces/Tags.html +8 -0
  312. package/docs/interfaces/TemporaryState.html +2 -0
  313. package/docs/interfaces/Util.AnimeInstance.html +14 -0
  314. package/docs/interfaces/Util.BlinkAnimeOptions.html +21 -0
  315. package/docs/interfaces/Util.EventHandlerConfig.html +21 -0
  316. package/docs/interfaces/Util.FiveDomEvent.html +7 -0
  317. package/docs/interfaces/Util.FiveDomEventMap.html +20 -0
  318. package/docs/interfaces/Util.LegacyMouseGroupParameter.html +4 -0
  319. package/docs/interfaces/Util.MagnifierParameter.html +13 -0
  320. package/docs/interfaces/Util.MouseGroupParameter.html +4 -0
  321. package/docs/interfaces/Util.ObjectInitialState.html +9 -0
  322. package/docs/interfaces/Util.PointIntersection.html +21 -0
  323. package/docs/interfaces/Util.PointSelectorHelperConfig.html +6 -0
  324. package/docs/interfaces/Util.ReBlinkAnimeOptions.html +27 -0
  325. package/docs/modules/AreaMakerPluginType.html +17 -0
  326. package/docs/modules/CruisePluginTypes.html +14 -0
  327. package/docs/modules/CurrentPanoImagePluginType.html +6 -0
  328. package/docs/modules/GuideLineItem.html +2 -0
  329. package/docs/modules/GuideLineModeItem.html +3 -0
  330. package/docs/modules/GuideLinePluginType.html +25 -0
  331. package/docs/modules/ModelMakerPluginType.html +19 -0
  332. package/docs/modules/PanoVideoPluginType.html +8 -0
  333. package/docs/modules/SculptData.html +9 -0
  334. package/docs/modules/SculptType.html +2 -0
  335. package/docs/modules/Util.html +86 -0
  336. package/docs/modules/Util.sculpt.html +25 -0
  337. package/docs/modules.html +278 -0
  338. package/docs/types/AddObject3DHelperConfig.html +19 -0
  339. package/docs/types/AreaMakerPluginType.AreaMakerItemEventMap.html +7 -0
  340. package/docs/types/AreaMakerPluginType.ItemRenderer.html +1 -0
  341. package/docs/types/AreaMakerPluginType.PluginData.html +2 -0
  342. package/docs/types/AreaMakerPluginType.ServerData.html +2 -0
  343. package/docs/types/ArrayPosition.html +1 -0
  344. package/docs/types/AudioAppearance.html +1 -0
  345. package/docs/types/CSS3DRenderExportType.html +1 -0
  346. package/docs/types/CSS3DRenderPluginExportType.html +1 -0
  347. package/docs/types/CSS3DRenderPluginParameterType.html +1 -0
  348. package/docs/types/ClassFunctionParameters.html +1 -0
  349. package/docs/types/Color.html +1 -0
  350. package/docs/types/ContentTypeConfigKey.html +1 -0
  351. package/docs/types/ContentTypeConfigKeySplit.html +1 -0
  352. package/docs/types/ContentTypeMap.html +1 -0
  353. package/docs/types/Create3DDomContainerReturnType.html +1 -0
  354. package/docs/types/Create3DElementReturnType.html +1 -0
  355. package/docs/types/CruisePluginExportType.html +1 -0
  356. package/docs/types/CruisePluginTypes.CruiseData.html +5 -0
  357. package/docs/types/CruisePluginTypes.MoveEffect.html +1 -0
  358. package/docs/types/CurrentPanoImagePluginExportType.html +1 -0
  359. package/docs/types/DeprecatedMediaPlaneProperty.html +3 -0
  360. package/docs/types/DeprecatedTagProperty.html +3 -0
  361. package/docs/types/Direction-1.html +1 -0
  362. package/docs/types/Direction4.html +1 -0
  363. package/docs/types/ElementRenderer.html +2 -0
  364. package/docs/types/FloorplanGuidePluginParameterType.html +1 -0
  365. package/docs/types/FloorplanGuidePluginReturnType.html +1 -0
  366. package/docs/types/FloorplanRuleLabels.html +2 -0
  367. package/docs/types/FloorplanServerRuleLabels.html +1 -0
  368. package/docs/types/GuideLinePluginExportType.html +1 -0
  369. package/docs/types/GuideLinePluginType.GuideLineItem.html +2 -0
  370. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +1 -0
  371. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +1 -0
  372. package/docs/types/GuideLinePluginType.GuideLineStyle.html +2 -0
  373. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +2 -0
  374. package/docs/types/GuideLinePluginType.PathItem.html +2 -0
  375. package/docs/types/GuideLinePluginType.PluginData.html +2 -0
  376. package/docs/types/GuideLinePluginType.RouteConfig.html +4 -0
  377. package/docs/types/HelperEventMap.html +1 -0
  378. package/docs/types/InternalHelperEventMap.html +1 -0
  379. package/docs/types/MapviewFloorplanPluginParameterType.html +1 -0
  380. package/docs/types/MapviewFloorplanPluginReturnType.html +1 -0
  381. package/docs/types/MeasureEndReason.html +1 -0
  382. package/docs/types/MeasurePluginConfig.html +5 -0
  383. package/docs/types/MediaData.html +2 -0
  384. package/docs/types/MediaStore.html +1 -0
  385. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +1 -0
  386. package/docs/types/ModelFloorplanPluginParameterType.html +1 -0
  387. package/docs/types/ModelFloorplanPluginReturnType.html +1 -0
  388. package/docs/types/ModelId.html +1 -0
  389. package/docs/types/ModelMakerPluginType.ElementRenderer.html +1 -0
  390. package/docs/types/ModelMakerPluginType.ItemType.html +2 -0
  391. package/docs/types/ModelMakerPluginType.MarkerItem.html +1 -0
  392. package/docs/types/ModelMakerPluginType.ServerItem.html +2 -0
  393. package/docs/types/ModelRoomLabelPluginParameters.html +1 -0
  394. package/docs/types/ModelRoomLabelPluginReturnType.html +1 -0
  395. package/docs/types/MoveArgs.html +2 -0
  396. package/docs/types/MoveOpts.html +2 -0
  397. package/docs/types/Object3DHelperEventMap.html +1 -0
  398. package/docs/types/ObjectFit.html +1 -0
  399. package/docs/types/PaintBrushEventMap.html +1 -0
  400. package/docs/types/PanoCompassPluginData.html +1 -0
  401. package/docs/types/PanoCompassPluginExportType.html +1 -0
  402. package/docs/types/PanoCompassPluginParameterType.html +1 -0
  403. package/docs/types/PanoFloorplanRadarPluginParameterType.html +1 -0
  404. package/docs/types/PanoFloorplanRadarPluginReturnType.html +1 -0
  405. package/docs/types/PanoIndex.html +1 -0
  406. package/docs/types/PanoMeasurePluginEvent.html +1 -0
  407. package/docs/types/PanoMeasureReturnType.html +1 -0
  408. package/docs/types/PanoSpatialTagPluginId.html +1 -0
  409. package/docs/types/PanoTagPluginExportInterface.html +1 -0
  410. package/docs/types/PanoTagPluginParamsInterface.html +1 -0
  411. package/docs/types/PanoVideoPluginParameterType.html +1 -0
  412. package/docs/types/PanoVideoPluginReturnType.html +1 -0
  413. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +2 -0
  414. package/docs/types/PipelinePluginParameterType.html +1 -0
  415. package/docs/types/PipelinePluginReturnType.html +1 -0
  416. package/docs/types/PlaneTag.html +2 -0
  417. package/docs/types/Point2DTag.html +2 -0
  418. package/docs/types/Point3DTag.html +2 -0
  419. package/docs/types/PointTagInstance.html +1 -0
  420. package/docs/types/Position.html +1 -0
  421. package/docs/types/PositionFrom.html +1 -0
  422. package/docs/types/RotateArgs.html +2 -0
  423. package/docs/types/RotateOpts.html +2 -0
  424. package/docs/types/RuleLabelsKey.html +1 -0
  425. package/docs/types/RuleLabelsValue.html +1 -0
  426. package/docs/types/ScaleCallback.html +1 -0
  427. package/docs/types/ScalePosition.html +3 -0
  428. package/docs/types/SculptData.BoxData.html +1 -0
  429. package/docs/types/SculptData.CircleData.html +1 -0
  430. package/docs/types/SculptData.CylinderData.html +1 -0
  431. package/docs/types/SculptData.PointData.html +1 -0
  432. package/docs/types/SculptData.PolygonData.html +1 -0
  433. package/docs/types/SculptData.PolylineData.html +1 -0
  434. package/docs/types/SculptData.PrismData.html +1 -0
  435. package/docs/types/SculptData.RectangleData.html +1 -0
  436. package/docs/types/SculptType.Theme.html +10 -0
  437. package/docs/types/StickType.html +1 -0
  438. package/docs/types/Tag.html +17 -0
  439. package/docs/types/Tag2D.html +2 -0
  440. package/docs/types/Tag3D.html +2 -0
  441. package/docs/types/TagClickParams.html +1 -0
  442. package/docs/types/TagConfigByKey.html +1 -0
  443. package/docs/types/TagContentType.html +1 -0
  444. package/docs/types/TagContentTypeMapping.html +1 -0
  445. package/docs/types/TagDimensionType.html +1 -0
  446. package/docs/types/TagElement.html +2 -0
  447. package/docs/types/TagEvents.html +1 -0
  448. package/docs/types/TagGLTFObject.html +1 -0
  449. package/docs/types/TagHooks.html +1 -0
  450. package/docs/types/TagId.html +1 -0
  451. package/docs/types/TagInstance.html +1 -0
  452. package/docs/types/TagPlacement.html +5 -0
  453. package/docs/types/TagPointType.html +2 -0
  454. package/docs/types/TagRendererMap.html +1 -0
  455. package/docs/types/TopviewFloorplanPluginParameterType.html +1 -0
  456. package/docs/types/TopviewFloorplanPluginReturnType.html +1 -0
  457. package/docs/types/Util.ActionIfNoIntersection.html +1 -0
  458. package/docs/types/Util.AdherePoint.html +2 -0
  459. package/docs/types/Util.PointSelectorConfig.html +1 -0
  460. package/docs/types/Util.SupportedTarget.html +2 -0
  461. package/docs/types/Util.Target.html +2 -0
  462. package/docs/types/Util.ThreeObject.html +2 -0
  463. package/docs/types/WorkCode.html +1 -0
  464. package/docs/variables/FLOOR_TYPE_MAP.html +2 -0
  465. package/docs/variables/PLUGIN.html +1 -0
  466. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +2 -0
  467. package/docs/variables/ROOM_TYPE_MAP.html +2 -0
  468. package/docs/variables/Util.ANIME_PRESETS.html +2 -0
  469. package/docs/variables/Util.CURRENT_PANO_IMAGE_DEFAULT_IMAGE.html +2 -0
  470. package/docs/variables/Util.DEFAULT_ANIME_CONFIG.html +2 -0
  471. package/docs/variables/Util.DEFAULT_STATIC_PREFIX.html +2 -0
  472. package/docs/variables/Util.DNALOGEL_DEFAULT_ASSETS.html +2 -0
  473. package/docs/variables/Util.ENTRY_DOOR_DEFAULT_IMAGE.html +2 -0
  474. package/docs/variables/Util.FLOORPLAN_DEFAULT_IMAGE.html +2 -0
  475. package/docs/variables/Util.GUIDELINE_DEFAULT_ARROW_TEXTURE.html +2 -0
  476. package/docs/variables/Util.GUIDELINE_WHITE_ARROW_TEXTURE.html +2 -0
  477. package/docs/variables/Util.MODEL_CHASSIS_COMPASS_DEFAULT_MODEL.html +2 -0
  478. package/docs/variables/Util.MODEL_ENTRY_DOOR_GUIDE_PLUGIN_DEFAULT_MODEL.html +2 -0
  479. package/docs/variables/Util.PANO_COMPASS_DEFAULT_IMAGE.html +2 -0
  480. package/docs/variables/Util.PANO_SPATIAL_TAG_BLUR_IMAGE.html +2 -0
  481. package/docs/variables/Util.PANO_TAG_DEFAULT_LINK_ICON.html +2 -0
  482. package/docs/variables/defaultGlobalConfig.html +1 -0
  483. package/docs/variables/itemLabelPluginServerParams.html +1 -0
  484. package/docs/variables/modelItemLabelPluginServerParams.html +1 -0
  485. package/docs/variables/modelRoomLabelPluginServerParams.html +1 -0
  486. package/libs/GuideLinePlugin/Components/Tag.js +151 -163
  487. package/libs/GuideLinePlugin/Controller.d.ts +34 -2
  488. package/libs/GuideLinePlugin/Controller.js +58 -24
  489. package/libs/GuideLinePlugin/GuideLineModeItem/index.js +76 -69
  490. package/libs/GuideLinePlugin/GuideLineModeItem.d.ts +7 -2
  491. package/libs/base/BasePlugin.js +1 -1
  492. package/libs/shared-utils/logger.js +1 -1
  493. package/package.json +1 -1
@@ -9,9 +9,9 @@ var b = (a, p, t) => p in a ? V(a, p, { enumerable: !0, configurable: !0, writab
9
9
  for (var t of U(p))
10
10
  R.call(p, t) && b(a, t, p[t]);
11
11
  return a;
12
- }, f = (a, p) => N(a, P(p));
12
+ }, c = (a, p) => N(a, P(p));
13
13
  var d = (a, p, t) => (b(a, typeof p != "symbol" ? p + "" : p, t), t);
14
- var c = (a, p, t) => new Promise((i, s) => {
14
+ var f = (a, p, t) => new Promise((i, s) => {
15
15
  var e = (m) => {
16
16
  try {
17
17
  r(t.next(m));
@@ -43,7 +43,7 @@ import "../vendor/@tweenjs/tween/dist/tween.esm.js.js";
43
43
  import "../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
44
44
  import "../vendor/earcut/src/earcut.js";
45
45
  import { uuid as H } from "../shared-utils/uuid.js";
46
- import { GUIDELINE_WHITE_ARROW_TEXTURE as j, GUIDELINE_DEFAULT_ARROW_TEXTURE as F } from "../shared-utils/url/defaultUrls.js";
46
+ import { GUIDELINE_WHITE_ARROW_TEXTURE as F, GUIDELINE_DEFAULT_ARROW_TEXTURE as j } from "../shared-utils/url/defaultUrls.js";
47
47
  import { replaceStaticPrefix as g } from "../shared-utils/url/replace-static-prefix.js";
48
48
  import { equal as B } from "../shared-utils/equal.js";
49
49
  import "../shared-utils/five/FivePuppet.js";
@@ -372,7 +372,7 @@ import "../CruisePlugin/utils/coordinatesToVector.js";
372
372
  import "../CruisePlugin/utils/safeCall.js";
373
373
  import "../CruisePlugin/utils/sleep.js";
374
374
  import "../shared-utils/five/fiveLoaded.js";
375
- const _ = "GuideLinePlugin", E = `${_}`, ce = (a) => `${E}--${a}`;
375
+ const _ = "GuideLinePlugin", E = `${_}`, fe = (a) => `${E}--${a}`;
376
376
  class be extends k {
377
377
  constructor(t, i) {
378
378
  super(t, i);
@@ -401,43 +401,43 @@ class be extends k {
401
401
  return this._disposed;
402
402
  }
403
403
  load(t, i, s = !0) {
404
- return c(this, null, function* () {
405
- var y, I, v, x, L, D, w;
404
+ return f(this, null, function* () {
405
+ var I, y, v, D, x, T, L;
406
406
  const e = this.data ? JSON.parse(JSON.stringify(this.data)) : void 0, o = yield this.formatData(t);
407
407
  this.hooks.emit("dataChange", o, e), this.data = o;
408
- const r = o.config, m = !o.lines && o.routes, n = (y = r == null ? void 0 : r.arrowTextureUrl) != null ? y : g(this.staticPrefix, j), h = f(l({}, r), {
408
+ const r = o.config, m = !o.lines && o.routes, n = (I = r == null ? void 0 : r.arrowTextureUrl) != null ? I : g(this.staticPrefix, F), h = c(l({}, r), {
409
409
  model_style: {
410
410
  texture: { url: n }
411
411
  },
412
412
  panorama_style: {
413
413
  visible: !!m,
414
- unit_length: (I = r == null ? void 0 : r.unitHeight) != null ? I : 0.4,
414
+ unit_length: (y = r == null ? void 0 : r.unitHeight) != null ? y : 0.4,
415
415
  width: (v = r == null ? void 0 : r.unitWidth) != null ? v : 0.6,
416
416
  texture: { url: n }
417
417
  }
418
- }), O = (L = (x = o.routes) == null ? void 0 : x.map((u) => {
419
- var T;
420
- return G({}, h, { id: (T = u.id) != null ? T : H(), pano_group: u.panoIndexList });
421
- })) != null ? L : [], S = (w = (D = o.lines) == null ? void 0 : D.map((u) => G({}, h, u))) != null ? w : [], M = [...O, ...S];
418
+ }), O = (x = (D = o.routes) == null ? void 0 : D.map((u) => {
419
+ var w;
420
+ return G({}, h, { id: (w = u.id) != null ? w : H(), pano_group: u.panoIndexList });
421
+ })) != null ? x : [], S = (L = (T = o.lines) == null ? void 0 : T.map((u) => G({}, h, u))) != null ? L : [], M = [...O, ...S];
422
422
  yield $(this.five), this.clear(), M.forEach((u) => {
423
423
  this.addGuideLineItem(u);
424
424
  }), this.updateTagsEnable(), this.handleVisible(this.state.visible), this.handleEnable(this.state.enabled), i && this.setState(i, { userAction: s }), this.hooks.emit("dataLoaded", o), console.debug(`${E} loaded`, o);
425
425
  });
426
426
  }
427
427
  formatData(t) {
428
- return c(this, null, function* () {
428
+ return f(this, null, function* () {
429
429
  return this.getDataWithoutVersion(t);
430
430
  });
431
431
  }
432
432
  /** 展示插件 */
433
433
  show(t) {
434
- return c(this, null, function* () {
434
+ return f(this, null, function* () {
435
435
  this.setState({ visible: !0 }, t);
436
436
  });
437
437
  }
438
438
  /** 隐藏插件 */
439
439
  hide(t) {
440
- return c(this, null, function* () {
440
+ return f(this, null, function* () {
441
441
  this.setState({ visible: !1 }, t);
442
442
  });
443
443
  }
@@ -469,19 +469,19 @@ class be extends k {
469
469
  }
470
470
  processItemUrls(t) {
471
471
  var e, o, r, m;
472
- const i = l({}, t), s = F;
472
+ const i = l({}, t), s = j;
473
473
  if (i.panorama_style) {
474
474
  const n = (o = (e = i.panorama_style.texture) == null ? void 0 : e.url) != null ? o : s;
475
- i.panorama_style = f(l({}, i.panorama_style), {
476
- texture: f(l({}, i.panorama_style.texture), {
475
+ i.panorama_style = c(l({}, i.panorama_style), {
476
+ texture: c(l({}, i.panorama_style.texture), {
477
477
  url: g(this.staticPrefix, n)
478
478
  })
479
479
  });
480
480
  }
481
481
  if (i.model_style) {
482
482
  const n = (m = (r = i.model_style.texture) == null ? void 0 : r.url) != null ? m : s;
483
- i.model_style = f(l({}, i.model_style), {
484
- texture: f(l({}, i.model_style.texture), {
483
+ i.model_style = c(l({}, i.model_style), {
484
+ texture: c(l({}, i.model_style.texture), {
485
485
  url: g(this.staticPrefix, n)
486
486
  })
487
487
  });
@@ -496,6 +496,37 @@ class be extends k {
496
496
  removeGuideLineItem(t) {
497
497
  this.itemMap.delete(t.id), t.panoramaItem.dispose(), t.modelItem.dispose();
498
498
  }
499
+ /**
500
+ * 动态更新距离格式化函数,立即刷新所有路线标签的距离显示。
501
+ * 不传参时恢复为默认格式(i18n('全程') + 距离 + i18n('米'))。
502
+ * @param fn 格式化函数,输入米数,返回完整显示字符串
503
+ * @example
504
+ * // 室内英制:英尺 + 英寸(如 "全程 5'10"")
505
+ * plugin.setDistanceFormatter((m) => {
506
+ * const totalInches = Math.round(m * 39.3701)
507
+ * const feet = Math.floor(totalInches / 12)
508
+ * const inches = totalInches % 12
509
+ * return `全程 ${feet}'${inches}"`
510
+ * })
511
+ * // 室外英制:英里(如 "Total 1.24 mi")
512
+ * plugin.setDistanceFormatter((m) => `Total ${(m * 0.000621371).toFixed(2)} mi`)
513
+ * // 自动切换:近距离用英尺,远距离用英里
514
+ * plugin.setDistanceFormatter((m) => {
515
+ * if (m < 300) return `全程 ${Math.round(m * 3.28084)} ft`
516
+ * return `全程 ${(m * 0.000621371).toFixed(2)} mi`
517
+ * })
518
+ * // 恢复默认(i18n '米')
519
+ * plugin.setDistanceFormatter()
520
+ */
521
+ setDistanceFormatter(t) {
522
+ this._config.formatDistance = t, this.updateTagDistances();
523
+ }
524
+ /** 更新所有 tag 的距离显示(当 formatDistance 函数改变时调用) */
525
+ updateTagDistances() {
526
+ this.itemMap.forEach((t) => {
527
+ t.panoramaItem.updateTagDistance(), t.modelItem.updateTagDistance();
528
+ });
529
+ }
499
530
  /** 全量更新 tag */
500
531
  updateTagsEnable() {
501
532
  const t = [];
@@ -514,10 +545,13 @@ class be extends k {
514
545
  }) : !1;
515
546
  }
516
547
  this.itemMap.forEach((o) => {
517
- const r = o.modelItem.startTagContainer, m = o.modelItem.endTagContainer, n = e(r);
518
- n && t.push(r), r == null || r.plugin.setState({ enabled: n }, {});
548
+ const r = o.modelItem.startTagContainer, m = o.modelItem.endTagContainer;
549
+ if (!r && !m)
550
+ return;
551
+ const n = e(r);
552
+ n && r && t.push(r), r == null || r.plugin.setState({ enabled: n }, {});
519
553
  const h = e(m);
520
- h && t.push(m), m == null || m.plugin.setState({ enabled: h }, {});
554
+ h && m && t.push(m), m == null || m.plugin.setState({ enabled: h }, {});
521
555
  });
522
556
  }
523
557
  /** 清空所有 GuideLineItem */
@@ -538,5 +572,5 @@ class be extends k {
538
572
  }
539
573
  export {
540
574
  be as default,
541
- ce as pluginFlag
575
+ fe as pluginFlag
542
576
  };
@@ -1,45 +1,45 @@
1
- var w = Object.defineProperty, S = Object.defineProperties;
2
- var V = Object.getOwnPropertyDescriptors;
3
- var y = Object.getOwnPropertySymbols;
4
- var F = Object.prototype.hasOwnProperty, T = Object.prototype.propertyIsEnumerable;
5
- var b = (l, e, t) => e in l ? w(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, p = (l, e) => {
1
+ var P = Object.defineProperty, x = Object.defineProperties;
2
+ var L = Object.getOwnPropertyDescriptors;
3
+ var S = Object.getOwnPropertySymbols;
4
+ var M = Object.prototype.hasOwnProperty, _ = Object.prototype.propertyIsEnumerable;
5
+ var y = (l, e, t) => e in l ? P(l, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : l[e] = t, c = (l, e) => {
6
6
  for (var t in e || (e = {}))
7
- F.call(e, t) && b(l, t, e[t]);
8
- if (y)
9
- for (var t of y(e))
10
- T.call(e, t) && b(l, t, e[t]);
7
+ M.call(e, t) && y(l, t, e[t]);
8
+ if (S)
9
+ for (var t of S(e))
10
+ _.call(e, t) && y(l, t, e[t]);
11
11
  return l;
12
- }, C = (l, e) => S(l, V(e));
13
- var i = (l, e, t) => (b(l, typeof e != "symbol" ? e + "" : e, t), t);
12
+ }, T = (l, e) => x(l, L(e));
13
+ var i = (l, e, t) => (y(l, typeof e != "symbol" ? e + "" : e, t), t);
14
14
  import * as n from "three";
15
- import { logError as P } from "../../shared-utils/log.js";
16
- import { createLineGeometry as x } from "../utils/createLineGeometry.js";
15
+ import { logError as O } from "../../shared-utils/log.js";
16
+ import { createLineGeometry as U } from "../utils/createLineGeometry.js";
17
17
  import "../../shared-utils/tag.js";
18
- import { isPanoramaLike as L, isModelLike as M } from "../../shared-utils/five/mode.js";
18
+ import { isPanoramaLike as E, isModelLike as A } from "../../shared-utils/five/mode.js";
19
19
  import "../../vendor/hammerjs/hammer.js";
20
20
  import "../../shared-utils/three/PointSelector/index.js";
21
21
  import "../../shared-utils/three/CSS3DRenderer/index.js";
22
22
  import "../../CSS3DRenderPlugin/utils/generateBehindFiveElement.js";
23
23
  import "@realsee/five/line";
24
- import { notNil as _ } from "../../shared-utils/isNil.js";
24
+ import { notNil as G } from "../../shared-utils/isNil.js";
25
25
  import "../../shared-utils/three/core/Five_LineMaterial2.js";
26
26
  import "../../shared-utils/three/core/Sphere.js";
27
- import { blink as O } from "../../shared-utils/three/blink.js";
27
+ import { blink as B } from "../../shared-utils/three/blink.js";
28
28
  import "../../vendor/@tweenjs/tween/dist/tween.esm.js.js";
29
29
  import "../../CSS3DRenderPlugin/utils/three/CSS3DRender.js";
30
30
  import "../../vendor/earcut/src/earcut.js";
31
- import { GUIDELINE_DEFAULT_ARROW_TEXTURE as U } from "../../shared-utils/url/defaultUrls.js";
32
- import { replaceStaticPrefix as E } from "../../shared-utils/url/replace-static-prefix.js";
33
- import { BetterTween as A } from "../../shared-utils/animationFrame/BetterTween.js";
31
+ import { GUIDELINE_DEFAULT_ARROW_TEXTURE as I } from "../../shared-utils/url/defaultUrls.js";
32
+ import { replaceStaticPrefix as R } from "../../shared-utils/url/replace-static-prefix.js";
33
+ import { BetterTween as W } from "../../shared-utils/animationFrame/BetterTween.js";
34
34
  import "../../shared-utils/five/FivePuppet.js";
35
- import { loadTexture as G } from "../../shared-utils/three/loadTexture.js";
36
- import k from "../../PanoTagPlugin/controller/index.js";
37
- import B from "../Components/Tag.js";
38
- import { filterAdjacentDistinct as R } from "../utils/index.js";
39
- import { objectAssignDeepExports as I } from "../../vendor/object-assign-deep/objectAssignDeep.js";
40
- import { createPath as W } from "../utils/createPath.js";
41
- import { getGlobalResponsiveFontSize as z, getCurrentFontSize as N } from "../../shared-utils/fontSize.js";
42
- const D = (
35
+ import { loadTexture as z } from "../../shared-utils/three/loadTexture.js";
36
+ import V from "../../PanoTagPlugin/controller/index.js";
37
+ import D from "../Components/Tag.js";
38
+ import { filterAdjacentDistinct as N } from "../utils/index.js";
39
+ import { objectAssignDeepExports as H } from "../../vendor/object-assign-deep/objectAssignDeep.js";
40
+ import { createPath as $ } from "../utils/createPath.js";
41
+ import { getGlobalResponsiveFontSize as j, getCurrentFontSize as Y } from "../../shared-utils/fontSize.js";
42
+ const Z = (
43
43
  /* glsl */
44
44
  `
45
45
  varying vec2 vUv;
@@ -52,7 +52,7 @@ const D = (
52
52
  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
53
53
  }
54
54
  `
55
- ), H = (
55
+ ), X = (
56
56
  /* glsl */
57
57
  `
58
58
  precision highp float;
@@ -171,7 +171,7 @@ const D = (
171
171
  }
172
172
  `
173
173
  );
174
- class j {
174
+ class q {
175
175
  constructor(e, t) {
176
176
  i(this, "name", "");
177
177
  i(this, "startTagContainer");
@@ -183,6 +183,9 @@ class j {
183
183
  i(this, "group", new n.Group());
184
184
  i(this, "mesh");
185
185
  i(this, "visible", null);
186
+ /** 保存原始的 tag 数据,用于更新距离显示 */
187
+ i(this, "startTagData", null);
188
+ i(this, "endTagData", null);
186
189
  i(this, "five");
187
190
  i(this, "mode");
188
191
  i(this, "_curvePath", null);
@@ -207,15 +210,15 @@ class j {
207
210
  i(this, "plugin");
208
211
  i(this, "textureHasLoaded", !1);
209
212
  i(this, "disposed", !1);
210
- i(this, "flowAnime", new A({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
213
+ i(this, "flowAnime", new W({ progress: 0 }).to({ progress: 1 }).duration(1500).repeat(1 / 0));
211
214
  /** 缓存 panoGroup 中每个点距离起点的长度 */
212
215
  i(this, "cacheLengths", []);
213
216
  /** 为了让多条路线在高度上错开,每个路线都需要有个额外的 offset */
214
217
  i(this, "heightOffset", 0);
215
218
  /** 响应式字体大小管理器 */
216
- i(this, "fontSizeManager", z());
219
+ i(this, "fontSizeManager", j());
217
220
  /** 当前字体大小 */
218
- i(this, "currentFontSize", N());
221
+ i(this, "currentFontSize", Y());
219
222
  /** 字体大小订阅取消函数 */
220
223
  i(this, "unsubscribeFontSize", null);
221
224
  i(this, "dispose", () => {
@@ -232,7 +235,7 @@ class j {
232
235
  });
233
236
  /** 模型状态变更 */
234
237
  i(this, "onFiveModeChange", (e) => {
235
- this.modeVisible = this.mode === "panorama" ? L(e) : M(e), this.updateVisible();
238
+ this.modeVisible = this.mode === "panorama" ? E(e) : A(e), this.updateVisible();
236
239
  });
237
240
  i(this, "onFiveModelShownFloorChange", (e) => {
238
241
  this.floorVisible = e === null || this.visibleFloorIndexes === null || this.visibleFloorIndexes.includes(e), this.updateVisible();
@@ -246,7 +249,7 @@ class j {
246
249
  const { progress: t } = e;
247
250
  this.mesh.material.uniforms.vOffset.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.five.needsRender = !0;
248
251
  });
249
- i(this, "logError", (e) => P("GuideLineModeItem: ", e));
252
+ i(this, "logError", (e) => O("GuideLineModeItem: ", e));
250
253
  /** 更新标签字体大小 */
251
254
  i(this, "updateTagFontSize", () => {
252
255
  var e, t;
@@ -255,8 +258,8 @@ class j {
255
258
  var a, o;
256
259
  this.five = e, this.mode = t.mode, this.plugin = t.plugin, this.parent = t.parent, this.group.name = "GuideLineModeItem";
257
260
  const s = new n.BufferGeometry(), r = new n.ShaderMaterial({
258
- vertexShader: D,
259
- fragmentShader: H,
261
+ vertexShader: Z,
262
+ fragmentShader: X,
260
263
  transparent: !0,
261
264
  uniforms: {
262
265
  map: { value: null },
@@ -324,28 +327,28 @@ class j {
324
327
  return this.logError("disposed");
325
328
  if (!this.five.work)
326
329
  return this.logError("setPathByPanoGroup: work is not ready");
327
- const s = R(e);
330
+ const s = N(e);
328
331
  if (this._panoGroup = s, (t == null ? void 0 : t.skipPanoGroup) !== void 0) {
329
- const d = t.skipPanoGroup ? s.map((m) => this.plugin.workUtil.getObserverStandingPosition(m)).filter(_) : null;
332
+ const d = t.skipPanoGroup ? s.map((f) => this.plugin.workUtil.getObserverStandingPosition(f)).filter(G) : null;
330
333
  this.skippedPositions = d;
331
334
  }
332
- const r = this.five.getCurrentState(), a = this.plugin.workUtil.workCode || r.workCode, o = this.five.works.getWork(a), h = W(s, o, t);
335
+ const r = this.five.getCurrentState(), a = this.plugin.workUtil.workCode || r.workCode, o = this.five.works.getWork(a), h = $(s, o, t);
333
336
  this.path = h, this.setGeometryByPath(h, t);
334
337
  }
335
338
  /** 通过路径设置线条形状 */
336
339
  setGeometryByPath(e, t) {
337
- var g, f, u;
340
+ var g, m, u;
338
341
  if (this.disposed)
339
342
  return this.logError("disposed");
340
- const s = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, r = (f = t == null ? void 0 : t.width) != null ? f : this.width, a = (u = t == null ? void 0 : t.unit_length) != null ? u : this.unitLength;
343
+ const s = (g = t == null ? void 0 : t.scale) != null ? g : this.scale, r = (m = t == null ? void 0 : t.width) != null ? m : this.width, a = (u = t == null ? void 0 : t.unit_length) != null ? u : this.unitLength;
341
344
  this.scale = s, this.width = r, this.unitLength = a;
342
- const { geometry: o, maxV: h, curvePath: d, curvePoints: m } = x({
345
+ const { geometry: o, maxV: h, curvePath: d, curvePoints: f } = U({
343
346
  path: e,
344
347
  width: r * s,
345
348
  unitLength: a * s,
346
349
  skipPositions: this.skippedPositions
347
350
  });
348
- this._curvePath = d, this._curvePoints = m, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = h, this.five.needsRender = !0, this.path = e, this.geometryStyle = p(p({}, this.geometryStyle), t);
351
+ this._curvePath = d, this._curvePoints = f, this.mesh.geometry.copy(o), this.mesh.material.needsUpdate = !0, this.mesh.material.uniforms.maxV.value = h, this.five.needsRender = !0, this.path = e, this.geometryStyle = c(c({}, this.geometryStyle), t);
349
352
  }
350
353
  /** 设置线条材质 */
351
354
  setMartial(e) {
@@ -353,9 +356,9 @@ class j {
353
356
  if (this.disposed)
354
357
  return this.logError("disposed");
355
358
  this.setDefaultVisible((r = e == null ? void 0 : e.visible) != null ? r : !1), this.setColor((a = e == null ? void 0 : e.color) != null ? a : "#ffffff"), this.setOpacity((o = e == null ? void 0 : e.opacity) != null ? o : 0.5);
356
- const t = E(this.plugin.staticPrefix, U);
359
+ const t = R(this.plugin.staticPrefix, I);
357
360
  this.setTextureUrl((d = (h = e == null ? void 0 : e.texture) == null ? void 0 : h.url) != null ? d : t), (e == null ? void 0 : e.background_color) !== void 0 && this.setBackgroundColor(e.background_color), (e == null ? void 0 : e.background_opacity) !== void 0 && this.setBackgroundOpacity(e.background_opacity), (e == null ? void 0 : e.border_color) !== void 0 && this.setBorderColor(e.border_color), (e == null ? void 0 : e.border_opacity) !== void 0 && this.setBorderOpacity(e.border_opacity), (e == null ? void 0 : e.border_width) !== void 0 && this.setBorderWidth(e.border_width), (e == null ? void 0 : e.background_clip) !== void 0 && this.setBackgroundClip(e.background_clip);
358
- const s = p(p({}, this.materialStyle), e);
361
+ const s = c(c({}, this.materialStyle), e);
359
362
  this.materialStyle = s;
360
363
  }
361
364
  /** 设置模型状态 */
@@ -364,7 +367,7 @@ class j {
364
367
  const r = new n.Vector3(), a = new n.Vector3().fromArray(e.translate);
365
368
  a.y += this.heightOffset, r.add(a), this.group.position.copy(r), s(this.startTagContainer, a), s(this.endTagContainer, a);
366
369
  }
367
- const t = p(p({}, this.meshStyle), e);
370
+ const t = c(c({}, this.meshStyle), e);
368
371
  this.meshStyle = t;
369
372
  function s(r, a) {
370
373
  if (!(r != null && r.tag))
@@ -439,7 +442,7 @@ class j {
439
442
  setTextureUrl(e) {
440
443
  if (this.disposed)
441
444
  return this.logError("disposed");
442
- this.textureUrl = e, G(e).then((t) => {
445
+ this.textureUrl = e, z(e).then((t) => {
443
446
  this.disposed || this.textureUrl === e && (t.wrapT = n.RepeatWrapping, this.textureHasLoaded = !0, this.mesh.material.uniforms.map.value = t, this.mesh.material.uniformsNeedUpdate = !0, this.mesh.material.needsUpdate = !0, this.five.needsRender = !0, this.updateVisible());
444
447
  });
445
448
  }
@@ -450,17 +453,21 @@ class j {
450
453
  this._visibleFloorIndexes = e, this.onFiveModelShownFloorChange((s = (t = this.five.model) == null ? void 0 : t.shownFloor) != null ? s : null);
451
454
  }
452
455
  setStartTag(e) {
453
- this.setTag("start", e);
456
+ this.startTagData = e, this.setTag("start", e);
454
457
  }
455
458
  setEndTag(e) {
456
- this.setTag("end", e);
459
+ this.endTagData = e, this.setTag("end", e);
460
+ }
461
+ /** 更新 tag 的距离显示(当 formatDistance 函数改变时调用) */
462
+ updateTagDistance() {
463
+ this.curvePath && (this.startTagData && this.setTag("start", this.startTagData), this.endTagData && this.setTag("end", this.endTagData));
457
464
  }
458
465
  /** 闪烁 */
459
466
  flicker() {
460
467
  var e, t, s, r, a, o;
461
468
  if (this.disposed)
462
469
  return this.logError("disposed");
463
- O([this.group, (s = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : s.dom, (o = (a = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom].filter(Boolean), {
470
+ B([this.group, (s = (t = (e = this.startTagContainer) == null ? void 0 : e.plugin) == null ? void 0 : t.tags[0]) == null ? void 0 : s.dom, (o = (a = (r = this.endTagContainer) == null ? void 0 : r.plugin) == null ? void 0 : a.tags[0]) == null ? void 0 : o.dom].filter(Boolean), {
464
471
  loop: 6,
465
472
  updateRender: () => {
466
473
  this.five.needsRender = !0;
@@ -477,41 +484,41 @@ class j {
477
484
  return this.disposed ? this.logError("disposed") : this.cacheLengths.length !== 0 ? this.cacheLengths[e] : (this.cacheLengths = this.getPanoGroupLengths(), this.cacheLengths[e]);
478
485
  }
479
486
  getPanoGroupLengths() {
480
- var d, m, g, f;
487
+ var d, f, g, m;
481
488
  if (!this.curvePoints || !this.curvePath)
482
489
  return [];
483
- const e = this.curvePoints.length, t = (m = (d = this.curvePath) == null ? void 0 : d.getLength()) != null ? m : 0, s = e - 1, r = t / s, a = (f = (g = this.curvePath) == null ? void 0 : g.getLengths(s)) != null ? f : [], o = [];
490
+ const e = this.curvePoints.length, t = (f = (d = this.curvePath) == null ? void 0 : d.getLength()) != null ? f : 0, s = e - 1, r = t / s, a = (m = (g = this.curvePath) == null ? void 0 : g.getLengths(s)) != null ? m : [], o = [];
484
491
  let h = 0;
485
492
  for (let u = 0; u < e; u++) {
486
- const v = this.curvePoints[u], c = this.plugin.workUtil.getObserverStandingPosition(h);
487
- if (!c)
493
+ const v = this.curvePoints[u], p = this.plugin.workUtil.getObserverStandingPosition(h);
494
+ if (!p)
488
495
  break;
489
- c.clone().setY(0).distanceTo(v.clone().setY(0)) < r && (o.push(a[u]), h += 1);
496
+ p.clone().setY(0).distanceTo(v.clone().setY(0)) < r && (o.push(a[u]), h += 1);
490
497
  }
491
498
  return o;
492
499
  }
493
500
  setTag(e, t) {
494
- var d, m;
501
+ var d, f;
495
502
  const s = this.curvePath;
496
503
  if (!(t != null && t.data))
497
504
  return;
498
- const r = e === "start" ? (d = this.startTagContainer) != null ? d : (() => (this.startTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.startTagContainer))() : (m = this.endTagContainer) != null ? m : (() => (this.endTagContainer = { tag: null, plugin: new k(this.five, { containerZIndex: 10 }) }, this.endTagContainer))(), o = I({}, {
505
+ const r = e === "start" ? (d = this.startTagContainer) != null ? d : (() => (this.startTagContainer = { tag: null, plugin: new V(this.five, { containerZIndex: 10 }) }, this.startTagContainer))() : (f = this.endTagContainer) != null ? f : (() => (this.endTagContainer = { tag: null, plugin: new V(this.five, { containerZIndex: 10 }) }, this.endTagContainer))(), o = H({}, {
499
506
  contentType: "Custom",
500
507
  stickType: "2DPoint",
501
508
  config: { visibleConfig: { visibleFiveMode: ["Floorplan", "Mapview"], followModelVisibility: !1 } },
502
509
  style: { point: { enabled: !1 } },
503
510
  data: {}
504
511
  }, t);
505
- r.tag = o, $(o) && (r.tag.element = (g) => {
506
- var v, c;
507
- (v = r.app) == null || v.$destroy();
508
- const f = e === "start" ? C(p({}, o.data), { name: this.name, distance: Math.round((c = s == null ? void 0 : s.getLength()) != null ? c : 0), i18n: this.plugin.config.i18n }) : o.data, u = new B({ target: g, intro: !0, props: p({ fontSize: this.currentFontSize }, f) });
509
- return r.app = u, () => u.$destroy();
512
+ r.tag = o, J(o) && (r.tag.element = (g) => {
513
+ var C, k, w;
514
+ (C = r.app) == null || C.$destroy();
515
+ const m = (k = s == null ? void 0 : s.getLength()) != null ? k : 0, u = (w = this.plugin.config.i18n) != null ? w : (F) => F, v = this.plugin.config.formatDistance ? this.plugin.config.formatDistance(m) : `${u("全程")}${Math.round(m)}${u("米")}`, p = e === "start" ? T(c({}, o.data), { name: this.name, distance: v }) : o.data, b = new D({ target: g, intro: !0, props: c({ fontSize: this.currentFontSize }, p) });
516
+ return r.app = b, () => b.$destroy();
510
517
  }), r.plugin.load({ tagList: [r.tag] });
511
518
  const h = this.meshStyle.translate;
512
519
  if (h && o.position) {
513
- const g = new n.Vector3().fromArray(o.position), f = new n.Vector3().fromArray(h);
514
- g.add(f), g.y += this.heightOffset;
520
+ const g = new n.Vector3().fromArray(o.position), m = new n.Vector3().fromArray(h);
521
+ g.add(m), g.y += this.heightOffset;
515
522
  const u = g.toArray();
516
523
  r.plugin.changeTagById(r.tag.id, { position: u });
517
524
  }
@@ -525,14 +532,14 @@ class j {
525
532
  this.mode === "model" && this.flowAnime.stop(), this.five.scene.remove(this.group), (e = this.startTagContainer) == null || e.plugin.hide(), (t = this.endTagContainer) == null || t.plugin.hide(), this.five.needsRender = !0;
526
533
  }
527
534
  }
528
- function $(l) {
535
+ function J(l) {
529
536
  return l.contentType === "Custom";
530
537
  }
531
- const we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
538
+ const Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
532
539
  __proto__: null,
533
- GuideLineModeItem: j
540
+ GuideLineModeItem: q
534
541
  }, Symbol.toStringTag, { value: "Module" }));
535
542
  export {
536
- j as GuideLineModeItem,
537
- we as GuideLineModeItem$1
543
+ q as GuideLineModeItem,
544
+ Fe as GuideLineModeItem$1
538
545
  };
@@ -23,8 +23,8 @@ declare class GuideLineModeItem {
23
23
  /** THREE Curve 路径上的点 */
24
24
  get curvePoints(): THREE.Vector3[];
25
25
  name: string;
26
- startTagContainer: GuideLineTagContainer;
27
- endTagContainer: GuideLineTagContainer;
26
+ startTagContainer?: GuideLineTagContainer;
27
+ endTagContainer?: GuideLineTagContainer;
28
28
  path: PluginType.PathItem[];
29
29
  geometryStyle: PluginType.GuideLineGeometryStyle;
30
30
  materialStyle: PluginType.GuideLineMaterialStyle;
@@ -32,6 +32,9 @@ declare class GuideLineModeItem {
32
32
  readonly group: THREE.Group;
33
33
  readonly mesh: THREE.Mesh<THREE.BufferGeometry, THREE.ShaderMaterial>;
34
34
  visible: boolean | null;
35
+ /** 保存原始的 tag 数据,用于更新距离显示 */
36
+ private startTagData;
37
+ private endTagData;
35
38
  private five;
36
39
  private mode;
37
40
  private _curvePath;
@@ -117,6 +120,8 @@ declare class GuideLineModeItem {
117
120
  setVisibleFloorIndexes(floorIndexes: number[]): void;
118
121
  setStartTag(tag: Tag | PluginType.ModelGuideLineTagData | null): void;
119
122
  setEndTag(tag: Tag | PluginType.ModelGuideLineTagData | null): void;
123
+ /** 更新 tag 的距离显示(当 formatDistance 函数改变时调用) */
124
+ updateTagDistance(): void;
120
125
  /** 闪烁 */
121
126
  flicker(): void;
122
127
  /** 求起点到 panoIndex 曲线长度
@@ -23,7 +23,7 @@ let I = class {
23
23
  /**
24
24
  * @realsee/dnalogel 版本号
25
25
  */
26
- r(this, "VERSION", "3.77.10-alpha.0");
26
+ r(this, "VERSION", "3.77.11-alpha.0");
27
27
  r(this, "NAME");
28
28
  r(this, "five");
29
29
  r(this, "workUtil");
@@ -1,6 +1,6 @@
1
1
  function A() {
2
2
  console.debug(
3
- "%c %c@realsee/dnalogel %cv3.77.10-alpha.0",
3
+ "%c %c@realsee/dnalogel %cv3.77.11-alpha.0",
4
4
  [
5
5
  "background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAMCAMAAACHgmeRAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAABLFBMVEUAAAAapPoap/oaqvkbrfkbr/gZnfwZoPsaqfnD4v/E4/8Ylv0clPm93/+/4P/B4f8Yj/683/8Wif+33P8Uhv+x2f8ShP+s1v8Pgf+n0/8Nf/+h0f8Lff8Lff8Nf/9dl/+czv8KfP8KfP+Lxf+Uyv+Xy/+Hwv+Jw/+Mxf+Oxv+RyP8aovsapfoap/oZmfwZm/wZnvsYnPsYkf4YlP0NePsDYfgYcfi43f+63v8Xiv8Xjf4EWfwCV/sWZ/qz2v+02/8Vh/8WiP8EUf8CTf4WXv2u1/+v2P8Thf8Thv8ETf8CR/8VV/+o1f+q1f8Qgv8Rg/8DSv8BRf8UVP+j0v+k0v8OgP8Pgf8DR/8DQv9Nhf+dzv+fz/+Kv/+Vyv+Xy/+azf+Oxv+Qx/+SyP////8MUhLdAAAAK3RSTlMACEWQ2bd98uQECPXxqO7c+Pb49vj2+Pb49vj23Oul8fMHA+TwerXXjEIG2P+bHgAAAAFiS0dEY1y+LaoAAAB+SURBVAjXY2BgZGJmYWVgYGBgY9fW0eVg4ORi4NbTNzDk4eXjZxAwMjYxNTO3EGQQsrSytrG1sxdmEHFwdHJ2cXUTZRBz9/D08vbxFWeQ8PMPCAwKDpFkkAoNC4+IjIqWZpCRlZOPiY2LV2BQVGJQTkhMUlEFWaOmrqGpxQAAyg0S9Dq+VPYAAAAASUVORK5CYII=')",
6
6
  "background-repeat: no-repeat",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@realsee/dnalogel",
3
- "version": "3.77.10-alpha.0",
3
+ "version": "3.77.11-alpha.0",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./libs/index.js",
6
6
  "types": "./libs/index.d.ts",