@realsee/dnalogel 2.21.0-dev.7 → 2.21.0-dev.8

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 (333) hide show
  1. package/dist/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  2. package/dist/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  3. package/dist/PanoMeasurePlugin/Model/area.d.ts +8 -1
  4. package/dist/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  5. package/dist/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  6. package/dist/index.cjs.js +34 -34
  7. package/dist/index.js +2536 -2483
  8. package/dist/index.umd.js +28 -28
  9. package/docs/classes/CSS3DRender.html +30 -30
  10. package/docs/classes/CruisePluginController.html +25 -25
  11. package/docs/classes/GuideLineItem.GuideLineItem.html +19 -19
  12. package/docs/classes/GuideLineModeItem.GuideLineModeItem.html +34 -34
  13. package/docs/classes/Magnifier.html +19 -19
  14. package/docs/classes/ModelRoomLabelController.html +10 -10
  15. package/docs/classes/Object3DHelperController.html +24 -24
  16. package/docs/classes/PaintBrush.html +14 -14
  17. package/docs/classes/PanoMeasurePluginLine.html +26 -26
  18. package/docs/classes/PanoMeasurePluginModel.html +26 -26
  19. package/docs/classes/PanoMeasurePluginPoint.html +13 -13
  20. package/docs/classes/PanoMeasurePluginPolyline.html +26 -26
  21. package/docs/classes/PanoTagPluginController.html +46 -46
  22. package/docs/classes/Util.BetterTween.html +8 -8
  23. package/docs/classes/Util.Interval.html +11 -11
  24. package/docs/classes/Util.Magnifier.html +17 -17
  25. package/docs/classes/Util.PointDomHelper.html +10 -10
  26. package/docs/classes/Util.PointHelper.html +10 -10
  27. package/docs/classes/Util.PointSelectorHelper.html +16 -16
  28. package/docs/classes/Util.Rectangle.html +12 -12
  29. package/docs/enums/CameraMovementEffect.html +6 -6
  30. package/docs/enums/ContentType.html +19 -19
  31. package/docs/enums/DIRECTION.html +8 -8
  32. package/docs/enums/DISPLAY_STRATEGY_TYPE.html +8 -8
  33. package/docs/enums/DimensionType.html +6 -6
  34. package/docs/enums/FLOOR_PLAN_ATTACHED_TO.html +7 -7
  35. package/docs/enums/ITEM_LABEL_PLUGIN_DISPLAY_STRATEGY_TYPE.html +8 -8
  36. package/docs/enums/PaintBrushTypeEnum.html +7 -7
  37. package/docs/enums/PointType.html +6 -6
  38. package/docs/enums/Rotation.html +7 -7
  39. package/docs/functions/CSS3DRenderPlugin.html +3 -3
  40. package/docs/functions/CameraMovementPlugin.html +3 -3
  41. package/docs/functions/CruisePlugin.html +3 -3
  42. package/docs/functions/GuideLinePlugin.html +4 -4
  43. package/docs/functions/ItemLabelPlugin.html +3 -3
  44. package/docs/functions/MapviewFloorplanPlugin.html +3 -3
  45. package/docs/functions/ModelChassisCompassPlugin.html +3 -3
  46. package/docs/functions/ModelEntryDoorGuidePlugin.html +3 -3
  47. package/docs/functions/ModelFloorplanPlugin.html +3 -3
  48. package/docs/functions/ModelItemLabelPlugin.html +3 -3
  49. package/docs/functions/ModelRoomLabelPlugin.html +3 -3
  50. package/docs/functions/ModelTVVideoPlugin.html +3 -3
  51. package/docs/functions/ModelViewPlugin.html +3 -3
  52. package/docs/functions/Object3DHelperPlugin.html +3 -3
  53. package/docs/functions/PanoCompassPlugin.html +3 -3
  54. package/docs/functions/PanoCursorRaycasterPlugin.html +3 -3
  55. package/docs/functions/PanoDoorLabelPlugin.html +3 -3
  56. package/docs/functions/PanoFloorplanRadarPlugin.html +3 -3
  57. package/docs/functions/PanoMeasurePlugin.html +3 -3
  58. package/docs/functions/PanoRulerPlugin.html +3 -3
  59. package/docs/functions/PanoRulerProPlugin.html +3 -3
  60. package/docs/functions/PanoSpatialTagPlugin.html +3 -3
  61. package/docs/functions/PanoTagPlugin.html +3 -3
  62. package/docs/functions/PanoVideoPlugin.html +3 -3
  63. package/docs/functions/TopviewFloorplanPlugin.html +3 -3
  64. package/docs/functions/Util.absoluteUrl.html +4 -4
  65. package/docs/functions/Util.getCoordsFromClient.html +4 -4
  66. package/docs/functions/Util.getCoordsFromElement.html +4 -4
  67. package/docs/functions/Util.getFrameTime.html +4 -4
  68. package/docs/functions/Util.getIntersectFromRelativePosition.html +4 -4
  69. package/docs/functions/Util.getRaycasterFromFivePointer.html +4 -4
  70. package/docs/functions/Util.isAbsoluteURL.html +4 -4
  71. package/docs/functions/Util.isModelLike.html +4 -4
  72. package/docs/functions/Util.isNil.html +4 -4
  73. package/docs/functions/Util.isPanoramaLike.html +4 -4
  74. package/docs/functions/Util.nextFrame.html +4 -4
  75. package/docs/functions/Util.notNil.html +4 -4
  76. package/docs/functions/Util.requestAnimationFrameInterval.html +4 -4
  77. package/docs/functions/Util.tweenProgress.html +4 -4
  78. package/docs/functions/Util.uuid.html +4 -4
  79. package/docs/functions/pluginFlag.html +4 -4
  80. package/docs/index.html +4 -4
  81. package/docs/interfaces/AddTagConfig.html +5 -5
  82. package/docs/interfaces/CSS3DRenderPluginEventMap.html +10 -10
  83. package/docs/interfaces/CSS3DRenderPluginState.html +7 -7
  84. package/docs/interfaces/CameraMovementPluginExportType.html +6 -6
  85. package/docs/interfaces/CruisePluginTypes.Config.html +7 -7
  86. package/docs/interfaces/CruisePluginTypes.CruiseKeyframe.html +11 -11
  87. package/docs/interfaces/CruisePluginTypes.EventMap.html +19 -19
  88. package/docs/interfaces/CruisePluginTypes.MoveAction.html +11 -11
  89. package/docs/interfaces/CruisePluginTypes.MoveWithKeyframesAction.html +13 -13
  90. package/docs/interfaces/CruisePluginTypes.MoveWithPanoIndexAction.html +13 -13
  91. package/docs/interfaces/CruisePluginTypes.PluginData.html +8 -8
  92. package/docs/interfaces/CruisePluginTypes.PluginServerData.html +6 -6
  93. package/docs/interfaces/CruisePluginTypes.PluginState.html +10 -10
  94. package/docs/interfaces/EventMap.html +14 -14
  95. package/docs/interfaces/FloorplanBounding.html +7 -7
  96. package/docs/interfaces/FloorplanData.html +9 -9
  97. package/docs/interfaces/FloorplanEntrance.html +10 -10
  98. package/docs/interfaces/FloorplanExtraObject.html +9 -9
  99. package/docs/interfaces/FloorplanExtraObject3D.html +7 -7
  100. package/docs/interfaces/FloorplanFloorData.html +8 -8
  101. package/docs/interfaces/FloorplanImagePosition.html +6 -6
  102. package/docs/interfaces/FloorplanObserver.html +8 -8
  103. package/docs/interfaces/FloorplanOutlineItem.html +8 -8
  104. package/docs/interfaces/FloorplanPosition.html +6 -6
  105. package/docs/interfaces/FloorplanRoomItem.html +12 -12
  106. package/docs/interfaces/FloorplanRoomLabelItem.html +6 -6
  107. package/docs/interfaces/FloorplanServerBounding.html +7 -7
  108. package/docs/interfaces/FloorplanServerComputedData.html +9 -9
  109. package/docs/interfaces/FloorplanServerData.html +6 -6
  110. package/docs/interfaces/FloorplanServerDoorItem.html +9 -9
  111. package/docs/interfaces/FloorplanServerDoorPosition.html +7 -7
  112. package/docs/interfaces/FloorplanServerEntrance.html +10 -10
  113. package/docs/interfaces/FloorplanServerFloorData.html +8 -8
  114. package/docs/interfaces/FloorplanServerImagePosition.html +6 -6
  115. package/docs/interfaces/FloorplanServerObserver.html +8 -8
  116. package/docs/interfaces/FloorplanServerOutlineItem.html +8 -8
  117. package/docs/interfaces/FloorplanServerPosition.html +6 -6
  118. package/docs/interfaces/FloorplanServerRoomItem.html +13 -13
  119. package/docs/interfaces/FloorplanServerRoomLabelItem.html +6 -6
  120. package/docs/interfaces/GuideLineModeItem.GuideLineTagContainer.html +7 -7
  121. package/docs/interfaces/GuideLinePluginType.CatmullRomCurve3.html +9 -9
  122. package/docs/interfaces/GuideLinePluginType.EventMap.html +12 -12
  123. package/docs/interfaces/GuideLinePluginType.GuideLineGeometryStyle.html +7 -7
  124. package/docs/interfaces/GuideLinePluginType.GuideLineItemContainer.html +5 -5
  125. package/docs/interfaces/GuideLinePluginType.GuideLineMaterialStyle.html +12 -12
  126. package/docs/interfaces/GuideLinePluginType.LineGeometriesConfig.html +7 -7
  127. package/docs/interfaces/GuideLinePluginType.ModelGuideLineStyle.html +17 -17
  128. package/docs/interfaces/GuideLinePluginType.ModelGuideLineTagData.html +6 -6
  129. package/docs/interfaces/GuideLinePluginType.PanoramaGuideLineStyle.html +17 -17
  130. package/docs/interfaces/GuideLinePluginType.PluginDataV2.html +4 -4
  131. package/docs/interfaces/GuideLinePluginType.PluginServerData.html +6 -6
  132. package/docs/interfaces/GuideLinePluginType.PluginState.html +7 -7
  133. package/docs/interfaces/GuideLinePluginType.Route.html +10 -10
  134. package/docs/interfaces/GuideLinePluginType.RouteConfig.html +8 -8
  135. package/docs/interfaces/HelperOffset.html +7 -7
  136. package/docs/interfaces/ImagePlaneGroup.html +5 -5
  137. package/docs/interfaces/ItemLabelPluginData.html +5 -5
  138. package/docs/interfaces/ItemLabelPluginExportReturnsType.html +10 -10
  139. package/docs/interfaces/ItemLabelPluginParametersType.html +8 -8
  140. package/docs/interfaces/MinMax.html +6 -6
  141. package/docs/interfaces/ModelChassisCompassPluginData.html +6 -6
  142. package/docs/interfaces/ModelChassisCompassPluginExportType.html +7 -7
  143. package/docs/interfaces/ModelChassisCompassPluginParameterType.html +6 -6
  144. package/docs/interfaces/ModelEntryDoorGuidePluginData.html +7 -7
  145. package/docs/interfaces/ModelEntryDoorGuidePluginExportType.html +7 -7
  146. package/docs/interfaces/ModelItemLabelPluginData.html +5 -5
  147. package/docs/interfaces/ModelItemLabelPluginExportReturnsType.html +10 -10
  148. package/docs/interfaces/ModelItemLabelPluginParametersType.html +6 -6
  149. package/docs/interfaces/ModelRoomLabelPluginData.html +5 -5
  150. package/docs/interfaces/ModelTVVideoPluginData.html +8 -8
  151. package/docs/interfaces/ModelTVVideoPluginExportType.html +7 -7
  152. package/docs/interfaces/ModelTVVideoPluginParameterType.html +5 -5
  153. package/docs/interfaces/ModelViewPluginExportType.html +10 -10
  154. package/docs/interfaces/Object3DHelperState.html +7 -7
  155. package/docs/interfaces/ObjectHelperControllers.html +8 -8
  156. package/docs/interfaces/PaintBrushAction.html +11 -11
  157. package/docs/interfaces/PaintBrushConfigs.html +11 -11
  158. package/docs/interfaces/PaintBrushState.html +9 -9
  159. package/docs/interfaces/PanoCursorRaycasterPluginExportType.html +9 -9
  160. package/docs/interfaces/PanoCursorRaycasterPluginParameterType.html +4 -4
  161. package/docs/interfaces/PanoMeasureParameterType.html +14 -14
  162. package/docs/interfaces/PanoMeasurePluginLineJson.html +7 -7
  163. package/docs/interfaces/PanoMeasurePluginOpenParameter.html +6 -6
  164. package/docs/interfaces/PanoMeasurePluginPointJson.html +6 -6
  165. package/docs/interfaces/PanoMeasurePluginPolylineJson.html +7 -7
  166. package/docs/interfaces/PanoRulerPluginExportType.html +9 -9
  167. package/docs/interfaces/PanoRulerPluginOptions.html +6 -6
  168. package/docs/interfaces/PanoRulerPluginParameterType.html +7 -7
  169. package/docs/interfaces/PanoRulerProPluginExportType.html +8 -8
  170. package/docs/interfaces/PanoRulerProPluginOptions.html +6 -6
  171. package/docs/interfaces/PanoRulerProPluginParameterType.html +6 -6
  172. package/docs/interfaces/PanoRulerProPluginState.html +7 -7
  173. package/docs/interfaces/PanoSpatialTagPluginContentEvent.html +4 -4
  174. package/docs/interfaces/PanoSpatialTagPluginContentReplacement.html +4 -4
  175. package/docs/interfaces/PanoSpatialTagPluginData.html +10 -10
  176. package/docs/interfaces/PanoSpatialTagPluginDataElement.html +9 -9
  177. package/docs/interfaces/PanoSpatialTagPluginExportType.html +12 -12
  178. package/docs/interfaces/PanoSpatialTagPluginOriginElement.html +9 -9
  179. package/docs/interfaces/PanoSpatialTagPluginParameterType.html +12 -12
  180. package/docs/interfaces/PanoSpatialTagPluginPointElement.html +10 -10
  181. package/docs/interfaces/PanoSpatialTagPluginTagElement.html +9 -9
  182. package/docs/interfaces/PanoVideoPluginType.LoadParams.html +5 -5
  183. package/docs/interfaces/PanoVideoPluginType.PanoVideoItem.html +7 -7
  184. package/docs/interfaces/PanoVideoPluginType.PluginData.html +5 -5
  185. package/docs/interfaces/PanoVideoPluginType.PluginEventMap.html +8 -8
  186. package/docs/interfaces/PanoVideoPluginType.PluginState.html +5 -5
  187. package/docs/interfaces/PanoVideoPluginType.VideoItem.html +7 -7
  188. package/docs/interfaces/PanoVideoPluginType.VideoMeshParams.html +9 -9
  189. package/docs/interfaces/Point.html +7 -7
  190. package/docs/interfaces/Room.html +8 -8
  191. package/docs/interfaces/RoomInfo.html +6 -6
  192. package/docs/interfaces/RoomLabel.html +13 -13
  193. package/docs/interfaces/RoomRules.html +4 -4
  194. package/docs/interfaces/Rooms.html +4 -4
  195. package/docs/interfaces/Scissor.html +8 -8
  196. package/docs/interfaces/State.html +7 -7
  197. package/docs/interfaces/TagCacheInterface.html +11 -11
  198. package/docs/interfaces/TagConfig.html +12 -12
  199. package/docs/interfaces/TagGLTFObjectGroup.html +5 -5
  200. package/docs/interfaces/TagIconUrl.html +11 -11
  201. package/docs/interfaces/TagObjectGroup.html +5 -5
  202. package/docs/interfaces/TagStyle.html +5 -5
  203. package/docs/interfaces/Tags.html +8 -8
  204. package/docs/interfaces/TemporaryState.html +5 -5
  205. package/docs/interfaces/Util.MagnifierParameter.html +10 -10
  206. package/docs/interfaces/Util.MouseGroupParameter.html +7 -7
  207. package/docs/interfaces/Util.PointIntersection.html +7 -7
  208. package/docs/modules/CruisePluginTypes.html +4 -4
  209. package/docs/modules/GuideLineItem.html +4 -4
  210. package/docs/modules/GuideLineModeItem.html +4 -4
  211. package/docs/modules/GuideLinePluginType.html +4 -4
  212. package/docs/modules/PanoVideoPluginType.html +4 -4
  213. package/docs/modules/Util.html +4 -4
  214. package/docs/modules.html +4 -4
  215. package/docs/types/ArrayPosition.html +4 -4
  216. package/docs/types/AudioAppearance.html +4 -4
  217. package/docs/types/AudioTagTypeConfigKey.html +4 -4
  218. package/docs/types/CSS3DRenderExportType.html +4 -4
  219. package/docs/types/CSS3DRenderPluginExportType.html +4 -4
  220. package/docs/types/CSS3DRenderPluginParameterType.html +4 -4
  221. package/docs/types/ClassFunctionParameters.html +4 -4
  222. package/docs/types/Color.html +4 -4
  223. package/docs/types/ContentTypeConfigKey.html +4 -4
  224. package/docs/types/ContentTypeConfigKeySplit.html +4 -4
  225. package/docs/types/ContentTypeMap.html +4 -4
  226. package/docs/types/Create3DDomContainerReturnType.html +4 -4
  227. package/docs/types/Create3DElementReturnType.html +4 -4
  228. package/docs/types/CruisePluginExportType.html +4 -4
  229. package/docs/types/CruisePluginTypes.CruiseData.html +4 -4
  230. package/docs/types/CruisePluginTypes.MoveEffect.html +4 -4
  231. package/docs/types/DeprecatedMediaPlaneProperty.html +4 -4
  232. package/docs/types/DeprecatedTagProperty.html +4 -4
  233. package/docs/types/Direction-1.html +4 -4
  234. package/docs/types/Direction4.html +4 -4
  235. package/docs/types/ElementRenderer.html +4 -4
  236. package/docs/types/FloorplanRuleLabels.html +4 -4
  237. package/docs/types/FloorplanServerRuleLabels.html +4 -4
  238. package/docs/types/GuideLinePluginExportType.html +4 -4
  239. package/docs/types/GuideLinePluginType.GuideLineItem.html +4 -4
  240. package/docs/types/GuideLinePluginType.GuideLineItemEventMap.html +4 -4
  241. package/docs/types/GuideLinePluginType.GuideLineModeItemMode.html +4 -4
  242. package/docs/types/GuideLinePluginType.GuideLineStyle.html +4 -4
  243. package/docs/types/GuideLinePluginType.ModelGuideLineTag.html +4 -4
  244. package/docs/types/GuideLinePluginType.PathItem.html +4 -4
  245. package/docs/types/GuideLinePluginType.PluginData.html +4 -4
  246. package/docs/types/HelperEventMap.html +4 -4
  247. package/docs/types/LoadTagConfig.html +4 -4
  248. package/docs/types/MapviewFloorplanPluginParameterType.html +4 -4
  249. package/docs/types/MapviewFloorplanPluginReturnType.html +4 -4
  250. package/docs/types/MediaData.html +4 -4
  251. package/docs/types/MediaStore.html +4 -4
  252. package/docs/types/ModelEntryDoorGuidePluginParameterType.html +4 -4
  253. package/docs/types/ModelFloorplanPluginParameterType.html +4 -4
  254. package/docs/types/ModelFloorplanPluginReturnType.html +4 -4
  255. package/docs/types/ModelRoomLabelPluginParameters.html +4 -4
  256. package/docs/types/ModelRoomLabelPluginReturnType.html +4 -4
  257. package/docs/types/MoveArgs.html +4 -4
  258. package/docs/types/MoveOpts.html +4 -4
  259. package/docs/types/Object3DHelperEventMap.html +4 -4
  260. package/docs/types/ObjectFit.html +4 -4
  261. package/docs/types/PaintBrushEventMap.html +4 -4
  262. package/docs/types/PanoCompassPluginData.html +4 -4
  263. package/docs/types/PanoCompassPluginExportType.html +4 -4
  264. package/docs/types/PanoCompassPluginParameterType.html +4 -4
  265. package/docs/types/PanoFloorplanRadarPluginParameterType.html +4 -4
  266. package/docs/types/PanoFloorplanRadarPluginReturnType.html +4 -4
  267. package/docs/types/PanoIndex.html +4 -4
  268. package/docs/types/PanoMeasurePluginEvent.html +4 -4
  269. package/docs/types/PanoMeasureReturnType.html +4 -4
  270. package/docs/types/PanoSpatialTagPluginId.html +4 -4
  271. package/docs/types/PanoTagPluginExportInterface.html +4 -4
  272. package/docs/types/PanoTagPluginParamsInterface.html +4 -4
  273. package/docs/types/PanoVideoPluginParameterType.html +4 -4
  274. package/docs/types/PanoVideoPluginReturnType.html +4 -4
  275. package/docs/types/PartialObjectDeep.html +4 -4
  276. package/docs/types/PickTagContentTypeInContentTypeConfigKey.html +4 -4
  277. package/docs/types/PlaneTag.html +4 -4
  278. package/docs/types/Point2DTag.html +4 -4
  279. package/docs/types/Point3DTag.html +4 -4
  280. package/docs/types/PointTag.html +4 -4
  281. package/docs/types/PointTagInstance.html +4 -4
  282. package/docs/types/Position.html +4 -4
  283. package/docs/types/RotateArgs.html +4 -4
  284. package/docs/types/RotateOpts.html +4 -4
  285. package/docs/types/RuleLabelsKey.html +4 -4
  286. package/docs/types/RuleLabelsValue.html +4 -4
  287. package/docs/types/StickType.html +4 -4
  288. package/docs/types/Tag.html +4 -4
  289. package/docs/types/Tag2D.html +4 -4
  290. package/docs/types/Tag3D.html +4 -4
  291. package/docs/types/TagContentType.html +4 -4
  292. package/docs/types/TagDimensionType.html +4 -4
  293. package/docs/types/TagElement.html +4 -4
  294. package/docs/types/TagEvents.html +4 -4
  295. package/docs/types/TagGLTFObject.html +4 -4
  296. package/docs/types/TagHooks.html +4 -4
  297. package/docs/types/TagId.html +4 -4
  298. package/docs/types/TagInstance.html +4 -4
  299. package/docs/types/TagPointType.html +4 -4
  300. package/docs/types/TagRendererMap.html +4 -4
  301. package/docs/types/TopviewFloorplanPluginParameterType.html +4 -4
  302. package/docs/types/TopviewFloorplanPluginReturnType.html +4 -4
  303. package/docs/types/WorkCode.html +4 -4
  304. package/docs/variables/FLOOR_TYPE_MAP.html +4 -4
  305. package/docs/variables/PLUGIN.html +4 -4
  306. package/docs/variables/ROOM_FETILE_TYPE_MAP.html +4 -4
  307. package/docs/variables/ROOM_TYPE_MAP.html +4 -4
  308. package/docs/variables/itemLabelPluginServerParams.html +4 -4
  309. package/docs/variables/modelItemLabelPluginServerParams.html +4 -4
  310. package/docs/variables/modelRoomLabelPluginServerParams.html +4 -4
  311. package/libs/PanoMeasurePlugin/Components/Controller0.js +131 -64
  312. package/libs/PanoMeasurePlugin/Components/Controller1.js +120 -115
  313. package/libs/PanoMeasurePlugin/Controller/EditController.d.ts +11 -0
  314. package/libs/PanoMeasurePlugin/Controller/EditController.js +166 -129
  315. package/libs/PanoMeasurePlugin/Controller/MixedController.js +5 -5
  316. package/libs/PanoMeasurePlugin/Controller/WatchController.d.ts +1 -1
  317. package/libs/PanoMeasurePlugin/Controller/WatchController.js +13 -12
  318. package/libs/PanoMeasurePlugin/Controller/index.js +2 -2
  319. package/libs/PanoMeasurePlugin/Model/area.d.ts +8 -1
  320. package/libs/PanoMeasurePlugin/Model/area.js +21 -14
  321. package/libs/PanoMeasurePlugin/Model/polygon.d.ts +1 -0
  322. package/libs/PanoMeasurePlugin/Model/polygon.js +16 -14
  323. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.d.ts +7 -3
  324. package/libs/PanoMeasurePlugin/Modules/DeleteDom/index.js +34 -24
  325. package/libs/PanoMeasurePlugin/Modules/UIController/index.js +14 -8
  326. package/libs/PanoMeasurePlugin/index.js +3 -3
  327. package/libs/PanoMeasurePlugin/utils/generatePolygonGeometry.js +3 -3
  328. package/libs/base/BasePlugin.js +1 -1
  329. package/libs/index.js +3 -3
  330. package/libs/shared-utils/logger.js +1 -1
  331. package/libs/shared-utils/three/PointSelector.js +7 -7
  332. package/libs/shared-utils/three/PointSelectorHelper.js +7 -7
  333. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { SvelteComponent as U, init as V, safe_not_equal as W, append_styles as X, element as _, create_component as q, space as E, attr as k, toggle_class as $, insert as B, mount_component as z, append as b, transition_in as c, transition_out as h, check_outros as K, detach as D, destroy_component as L, onMount as Y, onDestroy as Z, add_render_callback as R, create_bidirectional_transition as S, listen as J, group_outros as j } from "../../vendor/svelte/internal/index.js";
2
- import x from "./Common/Switcher1.js";
3
- import ee from "./Common/CircleButton.js";
1
+ import { SvelteComponent as Q, init as U, safe_not_equal as V, append_styles as W, element as _, create_component as q, space as P, attr as k, toggle_class as E, insert as B, mount_component as z, append as b, transition_in as c, transition_out as g, check_outros as K, detach as D, destroy_component as L, onMount as X, onDestroy as Y, add_render_callback as R, create_bidirectional_transition as y, listen as J, group_outros as j } from "../../vendor/svelte/internal/index.js";
2
+ import Z from "./Common/Switcher1.js";
3
+ import x from "./Common/CircleButton.js";
4
4
  import F from "../Controller/EditController.js";
5
- import te from "./Common/Exit.js";
6
- import { fade as A } from "../../vendor/svelte/transition/index.js";
5
+ import ee from "./Common/Exit.js";
6
+ import { fade as T } from "../../vendor/svelte/transition/index.js";
7
7
  import "../Modules/UIController/mobileHTML.js";
8
8
  import "../Model/line.js";
9
9
  import "../../shared-utils/uuid.js";
@@ -62,13 +62,19 @@ import "../../shared-utils/animationFrame/index.js";
62
62
  import "../../shared-utils/isTouchDevice.js";
63
63
  import "../../shared-utils/getIntersectionFromEvent.js";
64
64
  import "../../shared-utils/getPointFromHammerEvent.js";
65
+ import "../Modules/DeleteDom/index.js";
66
+ import "../Modules/DeleteDom/_Assets/delete.svg.js";
67
+ import "../Modules/DeleteDom/_Assets/delete_bg.png.js";
68
+ import "../Modules/DeleteDom/_Assets/delete_hover_bg.png.js";
69
+ import "../utils/findAssociatedLines.js";
70
+ import "../utils/math.js";
65
71
  import "../../vendor/svelte/easing/index.js";
66
72
  function oe(r) {
67
- X(r, "svelte-oflaon", "*.forbid.svelte-oflaon.svelte-oflaon{pointer-events:none;opacity:0.5}.Measure-Controller.svelte-oflaon.svelte-oflaon{pointer-events:none;color:white}.Measure-Controller.svelte-oflaon .mode-switcher.svelte-oflaon{margin-top:2.25rem}.Measure-Controller.svelte-oflaon .bottom.svelte-oflaon{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-oflaon .bottom .center.svelte-oflaon{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-oflaon .controller.svelte-oflaon{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-oflaon .controller .button.svelte-oflaon{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-oflaon .controller .main-button.svelte-oflaon{margin-left:1.75rem;margin-right:1.75rem}");
73
+ W(r, "svelte-oflaon", "*.forbid.svelte-oflaon.svelte-oflaon{pointer-events:none;opacity:0.5}.Measure-Controller.svelte-oflaon.svelte-oflaon{pointer-events:none;color:white}.Measure-Controller.svelte-oflaon .mode-switcher.svelte-oflaon{margin-top:2.25rem}.Measure-Controller.svelte-oflaon .bottom.svelte-oflaon{position:absolute;width:100%;bottom:2.5rem}.Measure-Controller.svelte-oflaon .bottom .center.svelte-oflaon{display:flex;flex-direction:column;align-items:center}.Measure-Controller.svelte-oflaon .controller.svelte-oflaon{pointer-events:all;display:flex;align-items:center}.Measure-Controller.svelte-oflaon .controller .button.svelte-oflaon{cursor:pointer;display:flex;align-items:center;justify-content:center;height:2.5rem;padding-left:1rem;padding-right:1rem;border-radius:624.9375rem;font-size:0.875rem;background-color:rgba(0, 0, 0, 0.2)}.Measure-Controller.svelte-oflaon .controller .main-button.svelte-oflaon{margin-left:1.75rem;margin-right:1.75rem}");
68
74
  }
69
75
  function G(r) {
70
- let o, t, e, m;
71
- return t = new x({
76
+ let t, o, e, m;
77
+ return o = new Z({
72
78
  props: {
73
79
  options: [{ key: "line", value: "测距离" }, { key: "area", value: "测面积" }],
74
80
  defaultKey: (
@@ -82,10 +88,10 @@ function G(r) {
82
88
  }
83
89
  }), {
84
90
  c() {
85
- o = _("div"), q(t.$$.fragment), k(o, "class", "mode-switcher svelte-oflaon");
91
+ t = _("div"), q(o.$$.fragment), k(t, "class", "mode-switcher svelte-oflaon");
86
92
  },
87
93
  m(l, i) {
88
- B(l, o, i), z(t, o, null), m = !0;
94
+ B(l, t, i), z(o, t, null), m = !0;
89
95
  },
90
96
  p(l, i) {
91
97
  r = l;
@@ -94,71 +100,71 @@ function G(r) {
94
100
  1 && (a.defaultKey = /*measureController*/
95
101
  r[0].currentMeasureType), i & /*measureController*/
96
102
  1 && (a.onChange = /*measureController*/
97
- r[0].changeMeasureType), t.$set(a);
103
+ r[0].changeMeasureType), o.$set(a);
98
104
  },
99
105
  i(l) {
100
- m || (c(t.$$.fragment, l), l && R(() => {
101
- m && (e || (e = S(o, A, { duration: P }, !0)), e.run(1));
106
+ m || (c(o.$$.fragment, l), l && R(() => {
107
+ m && (e || (e = y(t, T, { duration: S }, !0)), e.run(1));
102
108
  }), m = !0);
103
109
  },
104
110
  o(l) {
105
- h(t.$$.fragment, l), l && (e || (e = S(o, A, { duration: P }, !1)), e.run(0)), m = !1;
111
+ g(o.$$.fragment, l), l && (e || (e = y(t, T, { duration: S }, !1)), e.run(0)), m = !1;
106
112
  },
107
113
  d(l) {
108
- l && D(o), L(t), l && e && e.end();
114
+ l && D(t), L(o), l && e && e.end();
109
115
  }
110
116
  };
111
117
  }
112
118
  function H(r) {
113
- let o, t, e, m, l;
119
+ let t, o, e, m, l;
114
120
  return {
115
121
  c() {
116
- o = _("div"), o.textContent = "撤销", k(o, "class", "button svelte-oflaon"), $(
117
- o,
122
+ t = _("div"), t.textContent = "撤销", k(t, "class", "button svelte-oflaon"), E(
123
+ t,
118
124
  "forbid",
119
125
  /*buttonState*/
120
- r[4] === "start"
126
+ r[1] === "start"
121
127
  );
122
128
  },
123
129
  m(i, a) {
124
- B(i, o, a), e = !0, m || (l = J(
125
- o,
130
+ B(i, t, a), e = !0, m || (l = J(
131
+ t,
126
132
  "click",
127
133
  /*click_handler*/
128
- r[13]
134
+ r[12]
129
135
  ), m = !0);
130
136
  },
131
137
  p(i, a) {
132
138
  r = i, (!e || a & /*buttonState*/
133
- 16) && $(
134
- o,
139
+ 2) && E(
140
+ t,
135
141
  "forbid",
136
142
  /*buttonState*/
137
- r[4] === "start"
143
+ r[1] === "start"
138
144
  );
139
145
  },
140
146
  i(i) {
141
147
  e || (i && R(() => {
142
- e && (t || (t = S(o, A, { duration: P }, !0)), t.run(1));
148
+ e && (o || (o = y(t, T, { duration: S }, !0)), o.run(1));
143
149
  }), e = !0);
144
150
  },
145
151
  o(i) {
146
- i && (t || (t = S(o, A, { duration: P }, !1)), t.run(0)), e = !1;
152
+ i && (o || (o = y(t, T, { duration: S }, !1)), o.run(0)), e = !1;
147
153
  },
148
154
  d(i) {
149
- i && D(o), i && t && t.end(), m = !1, l();
155
+ i && D(t), i && o && o.end(), m = !1, l();
150
156
  }
151
157
  };
152
158
  }
153
159
  function I(r) {
154
- let o, t, e, m, l;
160
+ let t, o, e, m, l;
155
161
  return {
156
162
  c() {
157
- o = _("div"), o.textContent = "结束", k(o, "class", "button svelte-oflaon");
163
+ t = _("div"), t.textContent = "结束", k(t, "class", "button svelte-oflaon");
158
164
  },
159
165
  m(i, a) {
160
- B(i, o, a), e = !0, m || (l = J(
161
- o,
166
+ B(i, t, a), e = !0, m || (l = J(
167
+ t,
162
168
  "click",
163
169
  /*complete*/
164
170
  r[10]
@@ -169,20 +175,20 @@ function I(r) {
169
175
  },
170
176
  i(i) {
171
177
  e || (i && R(() => {
172
- e && (t || (t = S(o, A, { duration: P }, !0)), t.run(1));
178
+ e && (o || (o = y(t, T, { duration: S }, !0)), o.run(1));
173
179
  }), e = !0);
174
180
  },
175
181
  o(i) {
176
- i && (t || (t = S(o, A, { duration: P }, !1)), t.run(0)), e = !1;
182
+ i && (o || (o = y(t, T, { duration: S }, !1)), o.run(0)), e = !1;
177
183
  },
178
184
  d(i) {
179
- i && D(o), i && t && t.end(), m = !1, l();
185
+ i && D(t), i && o && o.end(), m = !1, l();
180
186
  }
181
187
  };
182
188
  }
183
- function re(r) {
184
- let o, t, e, m, l, i, a, y, v, d, T, g;
185
- t = new te({
189
+ function te(r) {
190
+ let t, o, e, m, l, i, a, M, d, v, $, h;
191
+ o = new ee({
186
192
  props: {
187
193
  onClick: (
188
194
  /*measureController*/
@@ -190,33 +196,33 @@ function re(r) {
190
196
  )
191
197
  }
192
198
  });
193
- let s = (
199
+ let p = (
194
200
  /*measureController*/
195
201
  r[0].allowMeasureType.length >= 2 && /*buttonState*/
196
- r[4] === "start" && G(r)
197
- ), p = (
202
+ r[1] === "start" && G(r)
203
+ ), s = (
198
204
  /*showButton*/
199
- r[2] && H(r)
205
+ r[3] && H(r)
200
206
  );
201
- d = new ee({
207
+ v = new x({
202
208
  props: {
203
209
  onClick: (
204
210
  /*func*/
205
- r[14]
211
+ r[13]
206
212
  ),
207
213
  text: (
208
214
  /*currentMeasureType*/
209
- r[1] === "area" ? (
215
+ r[2] === "area" ? (
210
216
  /*buttonAreaTextMap*/
211
217
  r[5][
212
218
  /*buttonState*/
213
- r[4]
219
+ r[1]
214
220
  ]
215
221
  ) : (
216
222
  /*buttonLineTextMap*/
217
223
  r[6][
218
224
  /*buttonState*/
219
- r[4]
225
+ r[1]
220
226
  ]
221
227
  )
222
228
  ),
@@ -224,142 +230,141 @@ function re(r) {
224
230
  /*buttonColorMap*/
225
231
  r[7][
226
232
  /*buttonState*/
227
- r[4]
233
+ r[1]
228
234
  ]
229
235
  )
230
236
  }
231
237
  });
232
238
  let f = (
233
239
  /*showButton*/
234
- r[2] && I(r)
240
+ r[3] && I(r)
235
241
  );
236
242
  return {
237
243
  c() {
238
- o = _("div"), q(t.$$.fragment), e = E(), m = _("div"), l = _("div"), s && s.c(), i = E(), a = _("div"), p && p.c(), y = E(), v = _("div"), q(d.$$.fragment), T = E(), f && f.c(), k(v, "class", "main-button svelte-oflaon"), $(v, "forbid", !/*allowAddPoint*/
239
- r[3]), k(a, "class", "controller svelte-oflaon"), k(l, "class", "center svelte-oflaon"), k(m, "class", "bottom svelte-oflaon"), k(o, "class", "Measure-Controller svelte-oflaon");
244
+ t = _("div"), q(o.$$.fragment), e = P(), m = _("div"), l = _("div"), p && p.c(), i = P(), a = _("div"), s && s.c(), M = P(), d = _("div"), q(v.$$.fragment), $ = P(), f && f.c(), k(d, "class", "main-button svelte-oflaon"), E(d, "forbid", !/*allowAddPoint*/
245
+ r[4]), k(a, "class", "controller svelte-oflaon"), k(l, "class", "center svelte-oflaon"), k(m, "class", "bottom svelte-oflaon"), k(t, "class", "Measure-Controller svelte-oflaon");
240
246
  },
241
247
  m(n, u) {
242
- B(n, o, u), z(t, o, null), b(o, e), b(o, m), b(m, l), s && s.m(l, null), b(l, i), b(l, a), p && p.m(a, null), b(a, y), b(a, v), z(d, v, null), b(a, T), f && f.m(a, null), g = !0;
248
+ B(n, t, u), z(o, t, null), b(t, e), b(t, m), b(m, l), p && p.m(l, null), b(l, i), b(l, a), s && s.m(a, null), b(a, M), b(a, d), z(v, d, null), b(a, $), f && f.m(a, null), h = !0;
243
249
  },
244
250
  p(n, [u]) {
245
- const M = {};
251
+ const A = {};
246
252
  u & /*measureController*/
247
- 1 && (M.onClick = /*measureController*/
248
- n[0].disable), t.$set(M), /*measureController*/
253
+ 1 && (A.onClick = /*measureController*/
254
+ n[0].disable), o.$set(A), /*measureController*/
249
255
  n[0].allowMeasureType.length >= 2 && /*buttonState*/
250
- n[4] === "start" ? s ? (s.p(n, u), u & /*measureController, buttonState*/
251
- 17 && c(s, 1)) : (s = G(n), s.c(), c(s, 1), s.m(l, i)) : s && (j(), h(s, 1, 1, () => {
252
- s = null;
253
- }), K()), /*showButton*/
254
- n[2] ? p ? (p.p(n, u), u & /*showButton*/
255
- 4 && c(p, 1)) : (p = H(n), p.c(), c(p, 1), p.m(a, y)) : p && (j(), h(p, 1, 1, () => {
256
+ n[1] === "start" ? p ? (p.p(n, u), u & /*measureController, buttonState*/
257
+ 3 && c(p, 1)) : (p = G(n), p.c(), c(p, 1), p.m(l, i)) : p && (j(), g(p, 1, 1, () => {
256
258
  p = null;
259
+ }), K()), /*showButton*/
260
+ n[3] ? s ? (s.p(n, u), u & /*showButton*/
261
+ 8 && c(s, 1)) : (s = H(n), s.c(), c(s, 1), s.m(a, M)) : s && (j(), g(s, 1, 1, () => {
262
+ s = null;
257
263
  }), K());
258
264
  const w = {};
259
265
  u & /*buttonState*/
260
- 16 && (w.onClick = /*func*/
261
- n[14]), u & /*currentMeasureType, buttonState*/
262
- 18 && (w.text = /*currentMeasureType*/
263
- n[1] === "area" ? (
266
+ 2 && (w.onClick = /*func*/
267
+ n[13]), u & /*currentMeasureType, buttonState*/
268
+ 6 && (w.text = /*currentMeasureType*/
269
+ n[2] === "area" ? (
264
270
  /*buttonAreaTextMap*/
265
271
  n[5][
266
272
  /*buttonState*/
267
- n[4]
273
+ n[1]
268
274
  ]
269
275
  ) : (
270
276
  /*buttonLineTextMap*/
271
277
  n[6][
272
278
  /*buttonState*/
273
- n[4]
279
+ n[1]
274
280
  ]
275
281
  )), u & /*buttonState*/
276
- 16 && (w.color = /*buttonColorMap*/
282
+ 2 && (w.color = /*buttonColorMap*/
277
283
  n[7][
278
284
  /*buttonState*/
279
- n[4]
280
- ]), d.$set(w), (!g || u & /*allowAddPoint*/
281
- 8) && $(v, "forbid", !/*allowAddPoint*/
282
- n[3]), /*showButton*/
283
- n[2] ? f ? (f.p(n, u), u & /*showButton*/
284
- 4 && c(f, 1)) : (f = I(n), f.c(), c(f, 1), f.m(a, null)) : f && (j(), h(f, 1, 1, () => {
285
+ n[1]
286
+ ]), v.$set(w), (!h || u & /*allowAddPoint*/
287
+ 16) && E(d, "forbid", !/*allowAddPoint*/
288
+ n[4]), /*showButton*/
289
+ n[3] ? f ? (f.p(n, u), u & /*showButton*/
290
+ 8 && c(f, 1)) : (f = I(n), f.c(), c(f, 1), f.m(a, null)) : f && (j(), g(f, 1, 1, () => {
285
291
  f = null;
286
292
  }), K());
287
293
  },
288
294
  i(n) {
289
- g || (c(t.$$.fragment, n), c(s), c(p), c(d.$$.fragment, n), c(f), g = !0);
295
+ h || (c(o.$$.fragment, n), c(p), c(s), c(v.$$.fragment, n), c(f), h = !0);
290
296
  },
291
297
  o(n) {
292
- h(t.$$.fragment, n), h(s), h(p), h(d.$$.fragment, n), h(f), g = !1;
298
+ g(o.$$.fragment, n), g(p), g(s), g(v.$$.fragment, n), g(f), h = !1;
293
299
  },
294
300
  d(n) {
295
- n && D(o), L(t), s && s.d(), p && p.d(), L(d), f && f.d();
301
+ n && D(t), L(o), p && p.d(), s && s.d(), L(v), f && f.d();
296
302
  }
297
303
  };
298
304
  }
299
- const P = 100;
300
- function ne(r, o, t) {
301
- let { measureController: e } = o;
305
+ const S = 100;
306
+ function re(r, t, o) {
307
+ let { measureController: e } = t;
302
308
  const m = { start: "开始", add: "添加", end: "结束" }, l = { start: "开始", add: "添加", end: "完成" }, i = {
303
309
  start: "white",
304
310
  add: "white",
305
311
  end: "blue"
306
312
  };
307
- let a = !1, y = !1, v = !0, d = "start", T = e.currentMeasureType;
308
- const g = () => {
309
- t(12, a = !0), e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (t(4, d = "add"), s());
310
- }, s = () => {
313
+ let a = !1, M = !0, d = "start", v = e.currentMeasureType;
314
+ const $ = () => {
315
+ e.getCurrentMode() !== "Edit" ? e.changeMode("Edit") : (o(1, d = "add"), h());
316
+ }, h = () => {
311
317
  e.controller instanceof F && e.controller.selectPoint();
312
318
  }, p = () => {
313
319
  e.controller instanceof F && e.controller.complete();
320
+ }, s = () => {
321
+ h(), u("allow");
314
322
  }, f = () => {
315
- s(), M("allow");
323
+ o(1, d = "end");
316
324
  }, n = () => {
317
- t(4, d = "end");
318
- }, u = () => {
319
- t(4, d = "start"), M("allow");
320
- }, M = (C) => {
321
- t(3, v = C === "allow");
325
+ o(1, d = "start"), u("allow");
326
+ }, u = (C) => {
327
+ o(4, M = C === "allow");
328
+ }, A = (C) => {
329
+ o(2, v = C);
322
330
  }, w = (C) => {
323
- t(1, T = C);
324
- }, N = (C) => {
325
- C.isEmpty && t(4, d = "start");
331
+ C.isEmpty && o(1, d = "start");
326
332
  };
327
- Y(() => {
328
- e.hook.on("revoke", N), e.hook.on("measureTypeChange", w), e.hook.on("modeChange", u), e.hook.on("allowAddPointStateChange", M), e.hook.on("readyComplete", n), e.hook.on("complete", u);
329
- }), Z(() => {
330
- e.hook.off("measureTypeChange", w), e.hook.off("modeChange", u), e.hook.off("allowAddPointStateChange", M), e.hook.off("readyComplete", n), e.hook.off("complete", u);
333
+ X(() => {
334
+ e.hook.on("revoke", w), e.hook.on("measureTypeChange", A), e.hook.on("modeChange", n), e.hook.on("allowAddPointStateChange", u), e.hook.on("readyComplete", f), e.hook.on("complete", n);
335
+ }), Y(() => {
336
+ e.hook.off("measureTypeChange", A), e.hook.off("modeChange", n), e.hook.off("allowAddPointStateChange", u), e.hook.off("readyComplete", f), e.hook.off("complete", n);
331
337
  });
332
- const O = () => e.revoke(), Q = () => {
333
- d === "start" ? g() : d === "add" ? s() : d === "end" && f();
338
+ const N = () => e.revoke(), O = () => {
339
+ d === "start" ? $() : d === "add" ? h() : d === "end" && s();
334
340
  };
335
341
  return r.$$set = (C) => {
336
- "measureController" in C && t(0, e = C.measureController);
342
+ "measureController" in C && o(0, e = C.measureController);
337
343
  }, r.$$.update = () => {
338
- r.$$.dirty & /*currentMeasureType, isStarted*/
339
- 4098 && t(2, y = T === "area" && a);
344
+ r.$$.dirty & /*currentMeasureType, buttonState*/
345
+ 6 && o(3, a = v === "area" && d !== "start");
340
346
  }, [
341
347
  e,
342
- T,
343
- y,
344
- v,
345
348
  d,
349
+ v,
350
+ a,
351
+ M,
346
352
  m,
347
353
  l,
348
354
  i,
349
- g,
350
- s,
355
+ $,
356
+ h,
351
357
  p,
352
- f,
353
- a,
354
- O,
355
- Q
358
+ s,
359
+ N,
360
+ O
356
361
  ];
357
362
  }
358
- class ht extends U {
359
- constructor(o) {
360
- super(), V(this, o, ne, re, W, { measureController: 0 }, oe);
363
+ class Mo extends Q {
364
+ constructor(t) {
365
+ super(), U(this, t, re, te, V, { measureController: 0 }, oe);
361
366
  }
362
367
  }
363
368
  export {
364
- ht as default
369
+ Mo as default
365
370
  };
@@ -12,6 +12,7 @@ export default class EditController extends BaseController {
12
12
  /** 上一个端点位置 */
13
13
  private lastPoint;
14
14
  private pointSelector;
15
+ private deleteDom;
15
16
  /** 根据 intersection 更新放大镜和吸附点 */
16
17
  private onIntersectionUpdate;
17
18
  constructor(params: ControllerParams);
@@ -42,4 +43,14 @@ export default class EditController extends BaseController {
42
43
  private onCameraUpdate;
43
44
  /** 更新虚线 */
44
45
  private updateDashed;
46
+ private wantsTapGesture;
47
+ private chooseLine;
48
+ private chooseArea;
49
+ private highlightArea;
50
+ private unHighlightArea;
51
+ private highlightLines;
52
+ private unHighlightLines;
53
+ private highlightLine;
54
+ private deleteArea;
55
+ private deleteLine;
45
56
  }