@realsee/dnalogel 2.25.0 → 2.26.1

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 (390) hide show
  1. package/dist/CruisePlugin/typing.d.ts +1 -1
  2. package/dist/GuideLinePlugin/typing.d.ts +1 -1
  3. package/dist/PanoCompassPlugin/typings.d.ts +1 -1
  4. package/dist/PanoMeasurePlugin/Model/point.d.ts +0 -4
  5. package/dist/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
  6. package/dist/PipelinePlugin/Controller.d.ts +108 -0
  7. package/dist/PipelinePlugin/index.d.ts +6 -0
  8. package/dist/PipelinePlugin/typing/PluginData.d.ts +20 -0
  9. package/dist/PipelinePlugin/typing/ServerData.d.ts +28 -0
  10. package/dist/PipelinePlugin/typing/index.d.ts +79 -0
  11. package/dist/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
  12. package/dist/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
  13. package/dist/PipelinePlugin/utils/formatData.d.ts +12 -0
  14. package/dist/base/BasePluginWithData.d.ts +3 -15
  15. package/dist/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
  16. package/dist/floorplan/typings/index.d.ts +1 -1
  17. package/dist/index.cjs.js +100 -65
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +9180 -8600
  20. package/dist/index.umd.js +89 -54
  21. package/dist/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
  22. package/dist/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
  23. package/docs/assets/search.js +1 -1
  24. package/docs/classes/CSS3DRender.html +33 -30
  25. package/docs/classes/CruisePluginController.html +28 -25
  26. package/docs/classes/GuideLineItem.GuideLineItem.html +22 -19
  27. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +37 -34
  28. package/docs/classes/Magnifier.html +22 -19
  29. package/docs/classes/ModelRoomLabelController.html +13 -10
  30. package/docs/classes/Object3DHelperController.html +27 -24
  31. package/docs/classes/PaintBrush.html +17 -14
  32. package/docs/classes/PanoMeasurePluginLine.html +29 -26
  33. package/docs/classes/PanoMeasurePluginModel.html +29 -26
  34. package/docs/classes/PanoMeasurePluginPoint.html +14 -48
  35. package/docs/classes/PanoMeasurePluginPolyline.html +43 -32
  36. package/docs/classes/PanoTagPluginController.html +49 -46
  37. package/docs/classes/Util.BetterTween.html +11 -8
  38. package/docs/classes/Util.Interval.html +14 -11
  39. package/docs/classes/Util.Magnifier.html +22 -19
  40. package/docs/classes/Util.PointDomHelper.html +13 -10
  41. package/docs/classes/Util.PointHelper.html +13 -10
  42. package/docs/classes/Util.PointSelectorHelper.html +18 -15
  43. package/docs/classes/Util.Rectangle.html +15 -12
  44. package/docs/enums/CameraMovementEffect.html +9 -6
  45. package/docs/enums/ContentType.html +22 -19
  46. package/docs/enums/DIRECTION.html +11 -8
  47. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +11 -8
  48. package/docs/enums/DimensionType.html +9 -6
  49. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +10 -7
  50. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +11 -8
  51. package/docs/enums/PaintBrushTypeEnum.html +10 -7
  52. package/docs/enums/PointType.html +9 -6
  53. package/docs/enums/Rotation.html +10 -7
  54. package/docs/functions/CSS3DRenderPlugin.html +6 -3
  55. package/docs/functions/CameraMovementPlugin.html +6 -3
  56. package/docs/functions/CruisePlugin.html +6 -3
  57. package/docs/functions/GuideLinePlugin.html +7 -4
  58. package/docs/functions/ItemLabelPlugin.html +6 -3
  59. package/docs/functions/MapviewFloorplanPlugin.html +6 -3
  60. package/docs/functions/ModelChassisCompassPlugin.html +6 -3
  61. package/docs/functions/ModelEntryDoorGuidePlugin.html +6 -3
  62. package/docs/functions/ModelFloorplanPlugin.html +6 -3
  63. package/docs/functions/ModelItemLabelPlugin.html +6 -3
  64. package/docs/functions/ModelRoomLabelPlugin.html +6 -3
  65. package/docs/functions/ModelTVVideoPlugin.html +6 -3
  66. package/docs/functions/ModelViewPlugin.html +6 -3
  67. package/docs/functions/Object3DHelperPlugin.html +6 -3
  68. package/docs/functions/PanoCompassPlugin.html +6 -3
  69. package/docs/functions/PanoCursorRaycasterPlugin.html +6 -3
  70. package/docs/functions/PanoDoorLabelPlugin.html +6 -3
  71. package/docs/functions/PanoFloorplanRadarPlugin.html +6 -3
  72. package/docs/functions/PanoMeasurePlugin.html +6 -3
  73. package/docs/functions/PanoRulerPlugin.html +6 -3
  74. package/docs/functions/PanoRulerProPlugin.html +6 -3
  75. package/docs/functions/PanoSpatialTagPlugin.html +6 -3
  76. package/docs/functions/PanoTagPlugin.html +6 -3
  77. package/docs/functions/PanoVideoPlugin.html +6 -3
  78. package/docs/functions/PipelinePlugin.html +280 -0
  79. package/docs/functions/TopviewFloorplanPlugin.html +6 -3
  80. package/docs/functions/Util.absoluteUrl.html +7 -4
  81. package/docs/functions/Util.getCoordsFromClient.html +7 -4
  82. package/docs/functions/Util.getCoordsFromElement.html +7 -4
  83. package/docs/functions/Util.getFrameTime.html +7 -4
  84. package/docs/functions/Util.getIntersectFromRelativePosition.html +7 -4
  85. package/docs/functions/Util.getRaycasterFromFivePointer.html +7 -4
  86. package/docs/functions/Util.isAbsoluteURL.html +7 -4
  87. package/docs/functions/Util.isModelLike.html +7 -4
  88. package/docs/functions/Util.isNil.html +7 -4
  89. package/docs/functions/Util.isPanoramaLike.html +7 -4
  90. package/docs/functions/Util.nextFrame.html +7 -4
  91. package/docs/functions/Util.notNil.html +7 -4
  92. package/docs/functions/Util.requestAnimationFrameInterval.html +7 -4
  93. package/docs/functions/Util.tweenProgress.html +7 -4
  94. package/docs/functions/Util.uuid.html +7 -4
  95. package/docs/functions/pluginFlag.html +7 -4
  96. package/docs/index.html +7 -4
  97. package/docs/interfaces/AddTagConfig.html +8 -5
  98. package/docs/interfaces/CSS3DRenderPluginEventMap.html +13 -10
  99. package/docs/interfaces/CSS3DRenderPluginState.html +10 -7
  100. package/docs/interfaces/CameraMovementPluginExportType.html +9 -6
  101. package/docs/interfaces/CruisePluginTypes.Config.html +10 -7
  102. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +14 -11
  103. package/docs/interfaces/CruisePluginTypes.EventMap.html +22 -19
  104. package/docs/interfaces/CruisePluginTypes.MoveAction.html +14 -11
  105. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +16 -13
  106. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +16 -13
  107. package/docs/interfaces/CruisePluginTypes.PluginData.html +11 -8
  108. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +10 -21
  109. package/docs/interfaces/CruisePluginTypes.PluginState.html +13 -10
  110. package/docs/interfaces/EventMap.html +17 -14
  111. package/docs/interfaces/FloorplanBounding.html +10 -7
  112. package/docs/interfaces/FloorplanData.html +12 -9
  113. package/docs/interfaces/FloorplanEntrance.html +13 -10
  114. package/docs/interfaces/FloorplanExtraObject.html +12 -9
  115. package/docs/interfaces/FloorplanExtraObject3D.html +10 -7
  116. package/docs/interfaces/FloorplanFloorData.html +11 -8
  117. package/docs/interfaces/FloorplanImagePosition.html +9 -6
  118. package/docs/interfaces/FloorplanObserver.html +11 -8
  119. package/docs/interfaces/FloorplanOutlineItem.html +11 -8
  120. package/docs/interfaces/FloorplanPosition.html +9 -6
  121. package/docs/interfaces/FloorplanRoomItem.html +15 -12
  122. package/docs/interfaces/FloorplanRoomLabelItem.html +9 -6
  123. package/docs/interfaces/FloorplanServerBounding.html +10 -7
  124. package/docs/interfaces/FloorplanServerComputedData.html +12 -9
  125. package/docs/interfaces/FloorplanServerData.html +9 -6
  126. package/docs/interfaces/FloorplanServerDoorItem.html +12 -9
  127. package/docs/interfaces/FloorplanServerDoorPosition.html +10 -7
  128. package/docs/interfaces/FloorplanServerEntrance.html +13 -10
  129. package/docs/interfaces/FloorplanServerFloorData.html +11 -8
  130. package/docs/interfaces/FloorplanServerImagePosition.html +9 -6
  131. package/docs/interfaces/FloorplanServerObserver.html +11 -8
  132. package/docs/interfaces/FloorplanServerOutlineItem.html +11 -8
  133. package/docs/interfaces/FloorplanServerPosition.html +9 -6
  134. package/docs/interfaces/FloorplanServerRoomItem.html +16 -13
  135. package/docs/interfaces/FloorplanServerRoomLabelItem.html +9 -6
  136. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +10 -7
  137. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +12 -9
  138. package/docs/interfaces/GuideLinePluginType.EventMap.html +15 -12
  139. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +10 -7
  140. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +8 -5
  141. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +15 -12
  142. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +10 -7
  143. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +20 -17
  144. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +9 -6
  145. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +20 -17
  146. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +7 -4
  147. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +10 -21
  148. package/docs/interfaces/GuideLinePluginType.PluginState.html +10 -7
  149. package/docs/interfaces/GuideLinePluginType.Route.html +13 -10
  150. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +11 -8
  151. package/docs/interfaces/HelperOffset.html +10 -7
  152. package/docs/interfaces/ImagePlaneGroup.html +8 -5
  153. package/docs/interfaces/ItemLabelPluginData.html +8 -5
  154. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +13 -10
  155. package/docs/interfaces/ItemLabelPluginParametersType.html +11 -8
  156. package/docs/interfaces/MinMax.html +9 -6
  157. package/docs/interfaces/ModelChassisCompassPluginData.html +9 -6
  158. package/docs/interfaces/ModelChassisCompassPluginExportType.html +10 -7
  159. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +9 -6
  160. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +10 -7
  161. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +10 -7
  162. package/docs/interfaces/ModelItemLabelPluginData.html +8 -5
  163. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +13 -10
  164. package/docs/interfaces/ModelItemLabelPluginParametersType.html +9 -6
  165. package/docs/interfaces/ModelRoomLabelPluginData.html +8 -5
  166. package/docs/interfaces/ModelTVVideoPluginData.html +11 -8
  167. package/docs/interfaces/ModelTVVideoPluginExportType.html +10 -7
  168. package/docs/interfaces/ModelTVVideoPluginParameterType.html +8 -5
  169. package/docs/interfaces/ModelViewPluginExportType.html +13 -10
  170. package/docs/interfaces/Object3DHelperState.html +10 -7
  171. package/docs/interfaces/ObjectHelperControllers.html +11 -8
  172. package/docs/interfaces/PaintBrushAction.html +14 -11
  173. package/docs/interfaces/PaintBrushConfigs.html +14 -11
  174. package/docs/interfaces/PaintBrushState.html +12 -9
  175. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +12 -9
  176. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +7 -4
  177. package/docs/interfaces/PanoMeasureParameterType.html +18 -15
  178. package/docs/interfaces/PanoMeasurePluginLineJson.html +10 -7
  179. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +9 -6
  180. package/docs/interfaces/PanoMeasurePluginPointJson.html +9 -6
  181. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +10 -7
  182. package/docs/interfaces/PanoRulerPluginExportType.html +12 -9
  183. package/docs/interfaces/PanoRulerPluginOptions.html +9 -6
  184. package/docs/interfaces/PanoRulerPluginParameterType.html +10 -7
  185. package/docs/interfaces/PanoRulerProPluginExportType.html +11 -8
  186. package/docs/interfaces/PanoRulerProPluginOptions.html +9 -6
  187. package/docs/interfaces/PanoRulerProPluginParameterType.html +9 -6
  188. package/docs/interfaces/PanoRulerProPluginState.html +10 -7
  189. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +7 -4
  190. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +7 -4
  191. package/docs/interfaces/PanoSpatialTagPluginData.html +13 -10
  192. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +12 -9
  193. package/docs/interfaces/PanoSpatialTagPluginExportType.html +15 -12
  194. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +12 -9
  195. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +15 -12
  196. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +13 -10
  197. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +12 -9
  198. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +8 -5
  199. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +10 -7
  200. package/docs/interfaces/PanoVideoPluginType.PluginData.html +8 -5
  201. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +11 -8
  202. package/docs/interfaces/PanoVideoPluginType.PluginState.html +8 -5
  203. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +10 -7
  204. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +12 -9
  205. package/docs/interfaces/Point.html +10 -7
  206. package/docs/interfaces/Room.html +11 -8
  207. package/docs/interfaces/RoomInfo.html +9 -6
  208. package/docs/interfaces/RoomLabel.html +16 -13
  209. package/docs/interfaces/RoomRules.html +7 -4
  210. package/docs/interfaces/Rooms.html +7 -4
  211. package/docs/interfaces/Scissor.html +11 -8
  212. package/docs/interfaces/State.html +10 -7
  213. package/docs/interfaces/TagCacheInterface.html +14 -11
  214. package/docs/interfaces/TagConfig.html +15 -12
  215. package/docs/interfaces/TagGLTFObjectGroup.html +8 -5
  216. package/docs/interfaces/TagIconUrl.html +14 -11
  217. package/docs/interfaces/TagObjectGroup.html +8 -5
  218. package/docs/interfaces/TagStyle.html +8 -5
  219. package/docs/interfaces/Tags.html +11 -8
  220. package/docs/interfaces/TemporaryState.html +8 -5
  221. package/docs/interfaces/Util.MagnifierParameter.html +13 -10
  222. package/docs/interfaces/Util.MouseGroupParameter.html +10 -7
  223. package/docs/interfaces/Util.PointIntersection.html +10 -7
  224. package/docs/modules/CruisePluginTypes.html +7 -4
  225. package/docs/modules/GuideLineItem.html +7 -4
  226. package/docs/modules/GuideLineModeItem.html +7 -4
  227. package/docs/modules/GuideLinePluginType.html +7 -4
  228. package/docs/modules/PanoVideoPluginType.html +7 -4
  229. package/docs/modules/Util.html +7 -4
  230. package/docs/modules.html +10 -4
  231. package/docs/types/ArrayPosition.html +7 -4
  232. package/docs/types/AudioAppearance.html +7 -4
  233. package/docs/types/AudioTagTypeConfigKey.html +7 -4
  234. package/docs/types/CSS3DRenderExportType.html +7 -4
  235. package/docs/types/CSS3DRenderPluginExportType.html +7 -4
  236. package/docs/types/CSS3DRenderPluginParameterType.html +7 -4
  237. package/docs/types/ClassFunctionParameters.html +7 -4
  238. package/docs/types/Color.html +7 -4
  239. package/docs/types/ContentTypeConfigKey.html +7 -4
  240. package/docs/types/ContentTypeConfigKeySplit.html +7 -4
  241. package/docs/types/ContentTypeMap.html +7 -4
  242. package/docs/types/Create3DDomContainerReturnType.html +7 -4
  243. package/docs/types/Create3DElementReturnType.html +7 -4
  244. package/docs/types/CruisePluginExportType.html +7 -4
  245. package/docs/types/CruisePluginTypes.CruiseData.html +7 -4
  246. package/docs/types/CruisePluginTypes.MoveEffect.html +7 -4
  247. package/docs/types/DeprecatedMediaPlaneProperty.html +7 -4
  248. package/docs/types/DeprecatedTagProperty.html +7 -4
  249. package/docs/types/Direction-1.html +7 -4
  250. package/docs/types/Direction4.html +7 -4
  251. package/docs/types/ElementRenderer.html +7 -4
  252. package/docs/types/FloorplanRuleLabels.html +7 -4
  253. package/docs/types/FloorplanServerRuleLabels.html +7 -4
  254. package/docs/types/GuideLinePluginExportType.html +7 -4
  255. package/docs/types/GuideLinePluginType.GuideLineItem.html +7 -4
  256. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +7 -4
  257. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +7 -4
  258. package/docs/types/GuideLinePluginType.GuideLineStyle.html +7 -4
  259. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +7 -4
  260. package/docs/types/GuideLinePluginType.PathItem.html +7 -4
  261. package/docs/types/GuideLinePluginType.PluginData.html +7 -4
  262. package/docs/types/HelperEventMap.html +7 -4
  263. package/docs/types/LoadTagConfig.html +7 -4
  264. package/docs/types/MapviewFloorplanPluginParameterType.html +7 -4
  265. package/docs/types/MapviewFloorplanPluginReturnType.html +7 -4
  266. package/docs/types/MediaData.html +7 -4
  267. package/docs/types/MediaStore.html +7 -4
  268. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +7 -4
  269. package/docs/types/ModelFloorplanPluginParameterType.html +7 -4
  270. package/docs/types/ModelFloorplanPluginReturnType.html +7 -4
  271. package/docs/types/ModelRoomLabelPluginParameters.html +7 -4
  272. package/docs/types/ModelRoomLabelPluginReturnType.html +7 -4
  273. package/docs/types/MoveArgs.html +7 -4
  274. package/docs/types/MoveOpts.html +7 -4
  275. package/docs/types/Object3DHelperEventMap.html +7 -4
  276. package/docs/types/ObjectFit.html +7 -4
  277. package/docs/types/PaintBrushEventMap.html +7 -4
  278. package/docs/types/PanoCompassPluginData.html +7 -4
  279. package/docs/types/PanoCompassPluginExportType.html +7 -4
  280. package/docs/types/PanoCompassPluginParameterType.html +7 -4
  281. package/docs/types/PanoFloorplanRadarPluginParameterType.html +7 -4
  282. package/docs/types/PanoFloorplanRadarPluginReturnType.html +7 -4
  283. package/docs/types/PanoIndex.html +7 -4
  284. package/docs/types/PanoMeasurePluginEvent.html +7 -4
  285. package/docs/types/PanoMeasureReturnType.html +7 -4
  286. package/docs/types/PanoSpatialTagPluginId.html +7 -4
  287. package/docs/types/PanoTagPluginExportInterface.html +7 -4
  288. package/docs/types/PanoTagPluginParamsInterface.html +7 -4
  289. package/docs/types/PanoVideoPluginParameterType.html +7 -4
  290. package/docs/types/PanoVideoPluginReturnType.html +7 -4
  291. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +7 -4
  292. package/docs/types/PipelinePluginParameterType.html +271 -0
  293. package/docs/types/PipelinePluginReturnType.html +271 -0
  294. package/docs/types/PlaneTag.html +7 -4
  295. package/docs/types/Point2DTag.html +7 -4
  296. package/docs/types/Point3DTag.html +7 -4
  297. package/docs/types/PointTag.html +7 -4
  298. package/docs/types/PointTagInstance.html +7 -4
  299. package/docs/types/Position.html +7 -4
  300. package/docs/types/RotateArgs.html +7 -4
  301. package/docs/types/RotateOpts.html +7 -4
  302. package/docs/types/RuleLabelsKey.html +7 -4
  303. package/docs/types/RuleLabelsValue.html +7 -4
  304. package/docs/types/StickType.html +7 -4
  305. package/docs/types/Tag.html +7 -4
  306. package/docs/types/Tag2D.html +7 -4
  307. package/docs/types/Tag3D.html +7 -4
  308. package/docs/types/TagContentType.html +7 -4
  309. package/docs/types/TagDimensionType.html +7 -4
  310. package/docs/types/TagElement.html +7 -4
  311. package/docs/types/TagEvents.html +7 -4
  312. package/docs/types/TagGLTFObject.html +7 -4
  313. package/docs/types/TagHooks.html +7 -4
  314. package/docs/types/TagId.html +7 -4
  315. package/docs/types/TagInstance.html +7 -4
  316. package/docs/types/TagPointType.html +7 -4
  317. package/docs/types/TagRendererMap.html +7 -4
  318. package/docs/types/TopviewFloorplanPluginParameterType.html +7 -4
  319. package/docs/types/TopviewFloorplanPluginReturnType.html +7 -4
  320. package/docs/types/WorkCode.html +7 -4
  321. package/docs/variables/FLOOR_TYPE_MAP.html +7 -4
  322. package/docs/variables/PLUGIN.html +7 -4
  323. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +7 -4
  324. package/docs/variables/ROOM_TYPE_MAP.html +7 -4
  325. package/docs/variables/itemLabelPluginServerParams.html +7 -4
  326. package/docs/variables/modelItemLabelPluginServerParams.html +7 -4
  327. package/docs/variables/modelRoomLabelPluginServerParams.html +7 -4
  328. package/libs/CruisePlugin/typing.d.ts +1 -1
  329. package/libs/GuideLinePlugin/typing.d.ts +1 -1
  330. package/libs/PanoCompassPlugin/typings.d.ts +1 -1
  331. package/libs/PanoMeasurePlugin/Components/Controller0.js +2 -4
  332. package/libs/PanoMeasurePlugin/Components/Controller1.js +52 -54
  333. package/libs/PanoMeasurePlugin/Controller/BaseController.js +2 -3
  334. package/libs/PanoMeasurePlugin/Controller/EditController.js +5 -7
  335. package/libs/PanoMeasurePlugin/Controller/MixedController.js +14 -16
  336. package/libs/PanoMeasurePlugin/Controller/ViewController.js +2 -3
  337. package/libs/PanoMeasurePlugin/Controller/WatchController.js +41 -43
  338. package/libs/PanoMeasurePlugin/Controller/index.js +26 -30
  339. package/libs/PanoMeasurePlugin/Model/area.js +2 -3
  340. package/libs/PanoMeasurePlugin/Model/index.js +2 -3
  341. package/libs/PanoMeasurePlugin/Model/line.js +20 -20
  342. package/libs/PanoMeasurePlugin/Model/point.d.ts +0 -4
  343. package/libs/PanoMeasurePlugin/Model/point.js +12 -20
  344. package/libs/PanoMeasurePlugin/Model/polyline.d.ts +1 -1
  345. package/libs/PanoMeasurePlugin/Model/polyline.js +59 -51
  346. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +22 -24
  347. package/libs/PanoMeasurePlugin/Modules/rangePiece/index.js +2 -3
  348. package/libs/PanoMeasurePlugin/index.js +13 -15
  349. package/libs/PanoVideoPlugin/VideoMeshController.js +1 -2
  350. package/libs/PipelinePlugin/Controller.d.ts +108 -0
  351. package/libs/PipelinePlugin/Controller.js +344 -0
  352. package/libs/PipelinePlugin/index.d.ts +6 -0
  353. package/libs/PipelinePlugin/index.js +39 -0
  354. package/libs/PipelinePlugin/typing/PluginData/index.js +6 -0
  355. package/libs/PipelinePlugin/typing/PluginData.d.ts +20 -0
  356. package/libs/PipelinePlugin/typing/PluginData.js +1 -0
  357. package/libs/PipelinePlugin/typing/ServerData/index.js +6 -0
  358. package/libs/PipelinePlugin/typing/ServerData.d.ts +28 -0
  359. package/libs/PipelinePlugin/typing/ServerData.js +1 -0
  360. package/libs/PipelinePlugin/typing/index.d.ts +79 -0
  361. package/libs/PipelinePlugin/typing/index.js +6 -0
  362. package/libs/PipelinePlugin/utils/Objects/FlowPipe.d.ts +34 -0
  363. package/libs/PipelinePlugin/utils/Objects/FlowPipe.js +106 -0
  364. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.d.ts +11 -0
  365. package/libs/PipelinePlugin/utils/Objects/HighlightPipe.js +52 -0
  366. package/libs/PipelinePlugin/utils/Objects/Pipe.d.ts +49 -0
  367. package/libs/PipelinePlugin/utils/Objects/Pipe.js +179 -0
  368. package/libs/PipelinePlugin/utils/formatData.d.ts +12 -0
  369. package/libs/PipelinePlugin/utils/formatData.js +46 -0
  370. package/libs/base/BasePlugin.js +1 -1
  371. package/libs/base/BasePluginWithData.d.ts +3 -15
  372. package/libs/floorplan/MapviewFloorplanPlugin/Controller.js +87 -88
  373. package/libs/floorplan/ModelFloorplanPlugin/Controller.js +75 -76
  374. package/libs/floorplan/PanoFloorplanRadarPlugin/typing.d.ts +1 -1
  375. package/libs/floorplan/typings/index.d.ts +1 -1
  376. package/libs/index.d.ts +1 -0
  377. package/libs/index.js +117 -110
  378. package/libs/shared-utils/logger.js +1 -1
  379. package/libs/shared-utils/three/Extras/Core/Interpolations.d.ts +11 -0
  380. package/libs/shared-utils/three/Extras/Core/Interpolations.js +28 -0
  381. package/libs/shared-utils/three/Extras/Core/Interpolations2.js +34 -0
  382. package/libs/shared-utils/three/Extras/Curves/BezierCurve3.d.ts +13 -0
  383. package/libs/shared-utils/three/Extras/Curves/BezierCurve3.js +30 -0
  384. package/package.json +1 -1
  385. package/dist/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
  386. package/dist/shared-utils/removeArrayItem.d.ts +0 -7
  387. package/libs/PanoMeasurePlugin/utils/findAssociatedLines.d.ts +0 -2
  388. package/libs/PanoMeasurePlugin/utils/findAssociatedLines.js +0 -13
  389. package/libs/shared-utils/removeArrayItem.d.ts +0 -7
  390. package/libs/shared-utils/removeArrayItem.js +0 -8
@@ -49,7 +49,7 @@ export interface EventMap extends BasePlugin.EventMap<State, PluginData> {
49
49
  userAction: boolean;
50
50
  }) => void;
51
51
  }
52
- export interface PluginServerData extends BasePlugin.ServerData {
52
+ export interface PluginServerData {
53
53
  version: number;
54
54
  data: PluginData;
55
55
  }
@@ -15,7 +15,6 @@ import "../utils/dom/base.js";
15
15
  import "../utils/isNDCPointInScreen.js";
16
16
  import "../../shared-utils/three/centerPoint.js";
17
17
  import "../Model/point.js";
18
- import "../../shared-utils/removeArrayItem.js";
19
18
  import "../../shared-utils/throttle.js";
20
19
  import "../Controller/BaseController.js";
21
20
  import "../utils/ironbox.js";
@@ -65,7 +64,6 @@ import "../Modules/DeleteDom/index.js";
65
64
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
66
65
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
67
66
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
68
- import "../utils/findAssociatedLines.js";
69
67
  import "../utils/math.js";
70
68
  function oe(n) {
71
69
  F(n, "svelte-468fdd", '*.forbid.svelte-468fdd.svelte-468fdd{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-468fdd.svelte-468fdd{pointer-events:none;position:relative;width:100%;height:100%;z-index:2}.Measure-Controller.svelte-468fdd .mode-switcher.svelte-468fdd{margin-top:2.25rem}.Measure-Controller.svelte-468fdd .bottom.svelte-468fdd{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-468fdd .bottom .mask.svelte-468fdd{position:absolute;bottom:0;width:100%;height:11.5rem;background-size:100%;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3))}.Measure-Controller.svelte-468fdd .bottom .center.svelte-468fdd{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-468fdd .buttons.svelte-468fdd{pointer-events:all;display:flex;align-items:center;height:2.5rem;background:rgba(0, 0, 0, 0.2);color:rgba(255, 255, 255, 0.85);width:-moz-max-content;width:max-content;border-radius:624.9375rem;overflow:hidden}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd{cursor:pointer;display:flex;align-items:center;position:relative;font-size:0.875rem;padding:0rem 1rem}.Measure-Controller.svelte-468fdd .buttons .button .icon.svelte-468fdd{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin-right:0.25rem}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd::after{content:"";position:absolute;display:block;right:-0.03125rem;height:1.5rem;width:0.0625rem;background-image:linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);background-size:100%;background-repeat:no-repeat;background-position:center}.Measure-Controller.svelte-468fdd .buttons .button.svelte-468fdd:last-child::after{display:none}');
@@ -276,7 +274,7 @@ function re(n, o, i) {
276
274
  u
277
275
  ];
278
276
  }
279
- class _t extends j {
277
+ class bt extends j {
280
278
  constructor(o) {
281
279
  super(), x(
282
280
  this,
@@ -294,5 +292,5 @@ class _t extends j {
294
292
  }
295
293
  }
296
294
  export {
297
- _t as default
295
+ bt as default
298
296
  };
@@ -1,4 +1,4 @@
1
- import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as ie, onDestroy as le, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
1
+ import { SvelteComponent as ee, init as te, safe_not_equal as oe, append_styles as re, element as j, space as T, create_component as q, attr as w, toggle_class as D, insert as I, append as g, mount_component as O, transition_in as k, transition_out as _, check_outros as R, detach as K, destroy_component as U, onMount as le, onDestroy as ie, add_render_callback as F, create_bidirectional_transition as E, text as V, set_style as W, listen as X, set_data as Y, group_outros as B } from "../../vendor/svelte/internal/index.js";
2
2
  import ne from "./Common/Switcher1.js";
3
3
  import se from "./Common/CircleButton.js";
4
4
  import H from "../Controller/EditController.js";
@@ -19,7 +19,6 @@ import "../utils/dom/base.js";
19
19
  import "../utils/isNDCPointInScreen.js";
20
20
  import "../../shared-utils/three/centerPoint.js";
21
21
  import "../Model/point.js";
22
- import "../../shared-utils/removeArrayItem.js";
23
22
  import "../../shared-utils/throttle.js";
24
23
  import "../Controller/BaseController.js";
25
24
  import "../utils/ironbox.js";
@@ -69,13 +68,12 @@ import "../Modules/DeleteDom/index.js";
69
68
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
70
69
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
71
70
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
72
- import "../utils/findAssociatedLines.js";
73
71
  import "../utils/math.js";
74
72
  function fe(o) {
75
73
  re(o, "svelte-ldjbp8", "*.forbid.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none !important;opacity:0.5}.Measure-Controller.svelte-ldjbp8.svelte-ldjbp8{pointer-events:none;position:relative;width:100%;height:100%;z-index:2;color:white}.Measure-Controller.svelte-ldjbp8 .mode-switcher.svelte-ldjbp8{margin-top:2.25rem}.Measure-Controller.svelte-ldjbp8 .bottom.svelte-ldjbp8{position:absolute;width:100%;bottom:0}.Measure-Controller.svelte-ldjbp8 .bottom .mask.svelte-ldjbp8{position:absolute;bottom:0;width:100%;height:12.5rem;background-size:100%;z-index:-1;background-image:linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5))}.Measure-Controller.svelte-ldjbp8 .bottom .center.svelte-ldjbp8{display:flex;flex-direction:column;align-items:center;margin-bottom:2.5rem}.Measure-Controller.svelte-ldjbp8 .controller.svelte-ldjbp8{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-ldjbp8 .controller .button.svelte-ldjbp8{cursor:pointer;display:flex;align-items:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;color:#fff;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-ldjbp8 .controller .button .icon.svelte-ldjbp8{width:1.5rem;height:1.5rem;background-repeat:no-repeat;background-size:100%;margin:0 0.25rem}.Measure-Controller.svelte-ldjbp8 .controller .main-button.svelte-ldjbp8{margin-left:1.75rem;margin-right:1.75rem;font-size:0.875rem;font-weight:bold}");
76
74
  }
77
75
  function J(o) {
78
- let t, i;
76
+ let t, l;
79
77
  return t = new ae({
80
78
  props: {
81
79
  onClick: (
@@ -88,19 +86,19 @@ function J(o) {
88
86
  q(t.$$.fragment);
89
87
  },
90
88
  m(e, a) {
91
- O(t, e, a), i = !0;
89
+ O(t, e, a), l = !0;
92
90
  },
93
91
  p(e, a) {
94
- const l = {};
92
+ const i = {};
95
93
  a & /*measureController*/
96
- 1 && (l.onClick = /*measureController*/
97
- e[0].disable), t.$set(l);
94
+ 1 && (i.onClick = /*measureController*/
95
+ e[0].disable), t.$set(i);
98
96
  },
99
97
  i(e) {
100
- i || (k(t.$$.fragment, e), i = !0);
98
+ l || (k(t.$$.fragment, e), l = !0);
101
99
  },
102
100
  o(e) {
103
- _(t.$$.fragment, e), i = !1;
101
+ _(t.$$.fragment, e), l = !1;
104
102
  },
105
103
  d(e) {
106
104
  U(t, e);
@@ -108,8 +106,8 @@ function J(o) {
108
106
  };
109
107
  }
110
108
  function L(o) {
111
- let t, i, e, a;
112
- return i = new ne({
109
+ let t, l, e, a;
110
+ return l = new ne({
113
111
  props: {
114
112
  options: [
115
113
  {
@@ -138,13 +136,13 @@ function L(o) {
138
136
  }
139
137
  }), {
140
138
  c() {
141
- t = j("div"), q(i.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
139
+ t = j("div"), q(l.$$.fragment), w(t, "class", "mode-switcher svelte-ldjbp8");
142
140
  },
143
- m(l, n) {
144
- I(l, t, n), O(i, t, null), a = !0;
141
+ m(i, n) {
142
+ I(i, t, n), O(l, t, null), a = !0;
145
143
  },
146
- p(l, n) {
147
- o = l;
144
+ p(i, n) {
145
+ o = i;
148
146
  const m = {};
149
147
  n & /*i18n*/
150
148
  4 && (m.options = [
@@ -166,29 +164,29 @@ function L(o) {
166
164
  1 && (m.defaultKey = /*measureController*/
167
165
  o[0].currentMeasureType), n & /*measureController*/
168
166
  1 && (m.onChange = /*measureController*/
169
- o[0].changeMeasureType), i.$set(m);
167
+ o[0].changeMeasureType), l.$set(m);
170
168
  },
171
- i(l) {
172
- a || (k(i.$$.fragment, l), l && F(() => {
169
+ i(i) {
170
+ a || (k(l.$$.fragment, i), i && F(() => {
173
171
  a && (e || (e = E(t, S, { duration: P }, !0)), e.run(1));
174
172
  }), a = !0);
175
173
  },
176
- o(l) {
177
- _(i.$$.fragment, l), l && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
174
+ o(i) {
175
+ _(l.$$.fragment, i), i && (e || (e = E(t, S, { duration: P }, !1)), e.run(0)), a = !1;
178
176
  },
179
- d(l) {
180
- l && K(t), U(i), l && e && e.end();
177
+ d(i) {
178
+ i && K(t), U(l), i && e && e.end();
181
179
  }
182
180
  };
183
181
  }
184
182
  function N(o) {
185
- let t, i, e, a = (
183
+ let t, l, e, a = (
186
184
  /*i18n*/
187
185
  o[2]("撤销") + ""
188
- ), l, n, m, f, C;
186
+ ), i, n, m, f, C;
189
187
  return {
190
188
  c() {
191
- t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
189
+ t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${me})`), w(t, "class", "button svelte-ldjbp8"), D(
192
190
  t,
193
191
  "forbid",
194
192
  /*buttonState*/
@@ -196,7 +194,7 @@ function N(o) {
196
194
  );
197
195
  },
198
196
  m(r, c) {
199
- I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
197
+ I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
200
198
  t,
201
199
  "click",
202
200
  /*click_handler*/
@@ -206,7 +204,7 @@ function N(o) {
206
204
  p(r, c) {
207
205
  o = r, (!m || c & /*i18n*/
208
206
  4) && a !== (a = /*i18n*/
209
- o[2]("撤销") + "") && Y(l, a), (!m || c & /*buttonState*/
207
+ o[2]("撤销") + "") && Y(i, a), (!m || c & /*buttonState*/
210
208
  8) && D(
211
209
  t,
212
210
  "forbid",
@@ -228,16 +226,16 @@ function N(o) {
228
226
  };
229
227
  }
230
228
  function Q(o) {
231
- let t, i, e, a = (
229
+ let t, l, e, a = (
232
230
  /*i18n*/
233
231
  o[2]("结束") + ""
234
- ), l, n, m, f, C;
232
+ ), i, n, m, f, C;
235
233
  return {
236
234
  c() {
237
- t = j("div"), i = j("div"), e = T(), l = V(a), w(i, "class", "icon svelte-ldjbp8"), W(i, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
235
+ t = j("div"), l = j("div"), e = T(), i = V(a), w(l, "class", "icon svelte-ldjbp8"), W(l, "background-image", `url(${pe})`), w(t, "class", "button svelte-ldjbp8");
238
236
  },
239
237
  m(r, c) {
240
- I(r, t, c), g(t, i), g(t, e), g(t, l), m = !0, f || (C = X(
238
+ I(r, t, c), g(t, l), g(t, e), g(t, i), m = !0, f || (C = X(
241
239
  t,
242
240
  "click",
243
241
  /*complete*/
@@ -247,7 +245,7 @@ function Q(o) {
247
245
  p(r, c) {
248
246
  o = r, (!m || c & /*i18n*/
249
247
  4) && a !== (a = /*i18n*/
250
- o[2]("结束") + "") && Y(l, a);
248
+ o[2]("结束") + "") && Y(i, a);
251
249
  },
252
250
  i(r) {
253
251
  m || (r && F(() => {
@@ -263,7 +261,7 @@ function Q(o) {
263
261
  };
264
262
  }
265
263
  function ue(o) {
266
- let t, i, e, a, l, n, m, f, C, r, c, z, M, b = (
264
+ let t, l, e, a, i, n, m, f, C, r, c, z, M, b = (
267
265
  /*showExit*/
268
266
  o[1] && J(o)
269
267
  ), p = (
@@ -302,16 +300,16 @@ function ue(o) {
302
300
  );
303
301
  return {
304
302
  c() {
305
- t = j("div"), b && b.c(), i = T(), e = j("div"), a = j("div"), l = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
303
+ t = j("div"), b && b.c(), l = T(), e = j("div"), a = j("div"), i = T(), n = j("div"), p && p.c(), m = T(), f = j("div"), u && u.c(), C = T(), r = j("div"), q(c.$$.fragment), z = T(), d && d.c(), w(a, "class", "mask svelte-ldjbp8"), w(r, "class", "main-button svelte-ldjbp8"), D(r, "forbid", !/*allowAddPoint*/
306
304
  o[5]), w(f, "class", "controller svelte-ldjbp8"), w(n, "class", "center svelte-ldjbp8"), w(e, "class", "bottom svelte-ldjbp8"), w(t, "class", "Measure-Controller svelte-ldjbp8");
307
305
  },
308
306
  m(s, v) {
309
- I(s, t, v), b && b.m(t, null), g(t, i), g(t, e), g(e, a), g(e, l), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
307
+ I(s, t, v), b && b.m(t, null), g(t, l), g(t, e), g(e, a), g(e, i), g(e, n), p && p.m(n, null), g(n, m), g(n, f), u && u.m(f, null), g(f, C), g(f, r), O(c, r, null), g(f, z), d && d.m(f, null), M = !0;
310
308
  },
311
309
  p(s, [v]) {
312
310
  /*showExit*/
313
311
  s[1] ? b ? (b.p(s, v), v & /*showExit*/
314
- 2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, i)) : b && (B(), _(b, 1, 1, () => {
312
+ 2 && k(b, 1)) : (b = J(s), b.c(), k(b, 1), b.m(t, l)) : b && (B(), _(b, 1, 1, () => {
315
313
  b = null;
316
314
  }), R()), /*measureController*/
317
315
  s[0].allowMeasureType.length >= 2 && /*buttonState*/
@@ -356,13 +354,13 @@ function ue(o) {
356
354
  };
357
355
  }
358
356
  const P = 100;
359
- function de(o, t, i) {
360
- let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: l = (h) => h } = t;
357
+ function de(o, t, l) {
358
+ let { measureController: e } = t, { showExit: a = !1 } = t, { i18n: i = (h) => h } = t;
361
359
  const n = {
362
- start: l("开始"),
363
- add: l("添加"),
364
- end: l("结束"),
365
- complete: l("完成")
360
+ start: i("开始"),
361
+ add: i("添加"),
362
+ end: i("结束"),
363
+ complete: i("完成")
366
364
  }, m = {
367
365
  start: "white",
368
366
  add: "white",
@@ -377,7 +375,7 @@ function de(o, t, i) {
377
375
  }, b = () => {
378
376
  e.controller instanceof H && e.controller.complete();
379
377
  }, p = (h) => {
380
- i(3, r = h);
378
+ l(3, r = h);
381
379
  }, u = () => {
382
380
  M(), A("allow");
383
381
  }, d = () => {
@@ -389,29 +387,29 @@ function de(o, t, i) {
389
387
  }, y = () => {
390
388
  p("start"), A("allow");
391
389
  }, A = (h) => {
392
- i(5, C = h === "allow");
390
+ l(5, C = h === "allow");
393
391
  }, G = (h) => {
394
- i(12, c = h);
392
+ l(12, c = h);
395
393
  }, Z = (h) => {
396
394
  h.isEmpty && p("start");
397
395
  };
398
- ie(() => {
396
+ le(() => {
399
397
  e.hook.on("revoke", Z), e.hook.on("measureTypeChange", G), e.hook.on("modeChange", y), e.hook.on("pointsChange", v), e.hook.on("allowAddPointStateChange", A), e.hook.on("readyComplete", d), e.hook.on("notReadyComplete", s), e.hook.on("complete", y);
400
- }), le(() => {
398
+ }), ie(() => {
401
399
  e.hook.off("measureTypeChange", G), e.hook.off("modeChange", y), e.hook.off("allowAddPointStateChange", A), e.hook.off("readyComplete", d), e.hook.off("pointsChange", v), e.hook.off("notReadyComplete", s), e.hook.off("complete", y);
402
400
  });
403
401
  const $ = () => e.revoke(), x = () => {
404
402
  r === "start" ? z() : r === "add" ? M() : (r === "end" || r === "complete") && u();
405
403
  };
406
404
  return o.$$set = (h) => {
407
- "measureController" in h && i(0, e = h.measureController), "showExit" in h && i(1, a = h.showExit), "i18n" in h && i(2, l = h.i18n);
405
+ "measureController" in h && l(0, e = h.measureController), "showExit" in h && l(1, a = h.showExit), "i18n" in h && l(2, i = h.i18n);
408
406
  }, o.$$.update = () => {
409
407
  o.$$.dirty & /*currentMeasureType, buttonState*/
410
- 4104 && i(4, f = c === "area" && r !== "start");
408
+ 4104 && l(4, f = c === "area" && r !== "start");
411
409
  }, [
412
410
  e,
413
411
  a,
414
- l,
412
+ i,
415
413
  r,
416
414
  f,
417
415
  C,
@@ -426,7 +424,7 @@ function de(o, t, i) {
426
424
  x
427
425
  ];
428
426
  }
429
- class Bt extends ee {
427
+ class At extends ee {
430
428
  constructor(t) {
431
429
  super(), te(
432
430
  this,
@@ -444,5 +442,5 @@ class Bt extends ee {
444
442
  }
445
443
  }
446
444
  export {
447
- Bt as default
445
+ At as default
448
446
  };
@@ -14,8 +14,7 @@ import "../utils/dom/distanceItem.js";
14
14
  import "../utils/dom/base.js";
15
15
  import "../utils/isNDCPointInScreen.js";
16
16
  import "../../shared-utils/three/centerPoint.js";
17
- import "../../shared-utils/removeArrayItem.js";
18
- class k {
17
+ class C {
19
18
  constructor(e) {
20
19
  t(this, "model");
21
20
  t(this, "five");
@@ -72,5 +71,5 @@ class k {
72
71
  }
73
72
  }
74
73
  export {
75
- k as default
74
+ C as default
76
75
  };
@@ -10,10 +10,9 @@ import w from "../Model/area.js";
10
10
  import D from "../utils/isIntersecting.js";
11
11
  import { PointSelector as x } from "../../shared-utils/three/PointSelector.js";
12
12
  import G from "../Modules/DeleteDom/index.js";
13
- import { findAssociatedLines as B } from "../utils/findAssociatedLines.js";
14
13
  import { Vector2 as y } from "three";
15
14
  import T from "../utils/isNDCPointInScreen.js";
16
- import { closestPointOnLine as W } from "../utils/math.js";
15
+ import { closestPointOnLine as B } from "../utils/math.js";
17
16
  import "../../shared-utils/uuid.js";
18
17
  import "../utils/line.js";
19
18
  import "@realsee/five/line";
@@ -22,7 +21,6 @@ import "@realsee/five";
22
21
  import "../utils/dom/distanceItem.js";
23
22
  import "../utils/dom/base.js";
24
23
  import "../../shared-utils/three/centerPoint.js";
25
- import "../../shared-utils/removeArrayItem.js";
26
24
  import "../utils/ironbox.js";
27
25
  import "../Model/polygon.js";
28
26
  import "../../shared-utils/three/IObject3D.js";
@@ -66,7 +64,7 @@ import "../Modules/DeleteDom/_Assets/delete.svg.js";
66
64
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
67
65
  import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
68
66
  const M = () => !1;
69
- class Ye extends j {
67
+ class Ke extends j {
70
68
  constructor(e) {
71
69
  var t;
72
70
  super(e);
@@ -238,7 +236,7 @@ class Ye extends j {
238
236
  if (g.length === 0)
239
237
  return;
240
238
  const P = g.map((h) => {
241
- const p = W(n, h.points);
239
+ const p = B(n, h.points);
242
240
  return { id: h.id, distance: p.distanceTo(n) };
243
241
  }).sort((h, p) => h.distance - p.distance)[0];
244
242
  if (P.distance > 20)
@@ -248,7 +246,7 @@ class Ye extends j {
248
246
  return this.chooseLine(L), !1;
249
247
  });
250
248
  o(this, "chooseLine", (e) => {
251
- const t = B(e);
249
+ const t = e.getPolyline().lines;
252
250
  this.deleteDom.setTarget(t).setLines(t).updatePosition().show(), this.highlightLines(t), this.hook.emit("selectedChange", t);
253
251
  });
254
252
  o(this, "chooseArea", (e, t) => {
@@ -326,5 +324,5 @@ class Ye extends j {
326
324
  }
327
325
  }
328
326
  export {
329
- Ye as default
327
+ Ke as default
330
328
  };
@@ -1,16 +1,15 @@
1
1
  var b = Object.defineProperty;
2
2
  var S = (n, s, e) => s in n ? b(n, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[s] = e;
3
3
  var t = (n, s, e) => (S(n, typeof s != "symbol" ? s + "" : s, e), e);
4
- import { Model as D } from "../Model/index.js";
5
- import y from "../Model/line.js";
4
+ import { Model as y } from "../Model/index.js";
5
+ import D from "../Model/line.js";
6
6
  import T from "./BaseController.js";
7
7
  import M from "../Modules/DeleteDom/index.js";
8
- import { findAssociatedLines as G } from "../utils/findAssociatedLines.js";
9
8
  import { Vector2 as m } from "three";
10
9
  import v from "../utils/isNDCPointInScreen.js";
11
- import { closestPointOnLine as W } from "../utils/math.js";
10
+ import { closestPointOnLine as G } from "../utils/math.js";
12
11
  import { Polyline as L } from "../Model/polyline.js";
13
- import E from "../Modules/rangePiece/index.js";
12
+ import W from "../Modules/rangePiece/index.js";
14
13
  import "@realsee/five";
15
14
  import "../../shared-utils/uuid.js";
16
15
  import "../utils/line.js";
@@ -20,7 +19,6 @@ import "../utils/dom/distanceItem.js";
20
19
  import "../utils/dom/base.js";
21
20
  import "../../shared-utils/three/centerPoint.js";
22
21
  import "../Model/point.js";
23
- import "../../shared-utils/removeArrayItem.js";
24
22
  import "../utils/ironbox.js";
25
23
  import "../Modules/DeleteDom/_Assets/delete.svg.js";
26
24
  import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
@@ -31,7 +29,7 @@ import "../../shared-utils/animationFrame/index.js";
31
29
  import "../../shared-utils/noop.js";
32
30
  import "../utils/calculateThreeMouse.js";
33
31
  import "../utils/mouseGroup.js";
34
- class de extends T {
32
+ class re extends T {
35
33
  constructor(e) {
36
34
  super(e);
37
35
  t(this, "state", "watching");
@@ -49,18 +47,18 @@ class de extends T {
49
47
  const [i] = this.five.model.intersectRaycaster(e);
50
48
  if (!i)
51
49
  return;
52
- const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight, f = new m(p.x * a, p.y * l), g = this.model.getAllLines().map((o) => {
50
+ const h = this.five.camera, p = i.point.clone().project(h), a = this.container.clientWidth, l = this.container.clientHeight, g = new m(p.x * a, p.y * l), f = this.model.getAllLines().map((o) => {
53
51
  const [r, C] = o.points, d = r.position.clone().project(h), c = C.position.clone().project(h);
54
52
  if (!v(d) && !v(c))
55
53
  return null;
56
54
  const w = new m(d.x * a, d.y * l), k = new m(c.x * a, c.y * l);
57
55
  return { id: o.id, points: [w, k] };
58
56
  }).filter((o) => !!o);
59
- if (g.length === 0)
57
+ if (f.length === 0)
60
58
  return;
61
- const u = g.map((o) => {
62
- const r = W(f, o.points);
63
- return { id: o.id, distance: r.distanceTo(f) };
59
+ const u = f.map((o) => {
60
+ const r = G(g, o.points);
61
+ return { id: o.id, distance: r.distanceTo(g) };
64
62
  }).sort((o, r) => o.distance - r.distance)[0];
65
63
  if (u.distance > 20)
66
64
  return;
@@ -88,7 +86,7 @@ class de extends T {
88
86
  t(this, "onGetEndPoint", () => {
89
87
  const e = this.mobileNowPoint;
90
88
  if (this.removeLine(this.dashed), this.hasAppendDashed = !1, this.mobileStartPoint && e) {
91
- const i = new y(this.mobileStartPoint, e, this.model);
89
+ const i = new D(this.mobileStartPoint, e, this.model);
92
90
  this.polyline.addLine(i), i.distanceItem.appendTo(this.container), i.distanceItem.update(this.five), i.hook.on("selected", this.chooseLine), this.disposers.push(() => i.hook.off("selected", this.chooseLine)), this.group.add(i.mesh), this.model.addPolyline(this.polyline);
93
91
  }
94
92
  this.mobileStartPoint = null, this.mobileNowPoint = null, this.five.needsRender = !0;
@@ -104,7 +102,7 @@ class de extends T {
104
102
  this.state = i, this.state === "watching" ? this.five.helperVisible = !0 : this.five.helperVisible = !1;
105
103
  });
106
104
  t(this, "chooseLine", (e) => {
107
- const i = G(e);
105
+ const i = e.getPolyline().lines;
108
106
  this.highlightLines(i), this.five.needsRender = !0, this.hook.emit(
109
107
  "selectedChange",
110
108
  i.map((h) => h)
@@ -120,7 +118,7 @@ class de extends T {
120
118
  t(this, "cancelDeleteClickCallback", () => {
121
119
  this.clearHighlightLines();
122
120
  });
123
- this.model = new D(this.config), this.polyline = new L({ model: this.model }), this.rangePieceController = new E(e), this.deleteDom = new M(this.five, {
121
+ this.model = new y(this.config), this.polyline = new L({ model: this.model }), this.rangePieceController = new W(e), this.deleteDom = new M(this.five, {
124
122
  i18n: this.config.i18n,
125
123
  onClick: this.deleteDomClickCallback,
126
124
  cancel: this.cancelDeleteClickCallback
@@ -145,5 +143,5 @@ class de extends T {
145
143
  }
146
144
  }
147
145
  export {
148
- de as default
146
+ re as default
149
147
  };
@@ -15,9 +15,8 @@ import "../utils/dom/base.js";
15
15
  import "../utils/isNDCPointInScreen.js";
16
16
  import "../../shared-utils/three/centerPoint.js";
17
17
  import "../Model/point.js";
18
- import "../../shared-utils/removeArrayItem.js";
19
18
  import "../utils/ironbox.js";
20
- class R extends h {
19
+ class F extends h {
21
20
  constructor(e) {
22
21
  super(e);
23
22
  s(this, "type", "view");
@@ -67,5 +66,5 @@ class R extends h {
67
66
  }
68
67
  }
69
68
  export {
70
- R as default
69
+ F as default
71
70
  };