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